diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-08-31 08:11:15 (GMT) |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-08-31 08:13:34 (GMT) |
commit | 9c8f0d49aa62c3f9bee47f5eacbc0c2d8bb16031 (patch) | |
tree | 050c3ce98ca8873e767c909631daa91cc45fbb21 | |
parent | 514692aac05fa5949dcc049734be122daad6b3dc (diff) | |
download | Qt-9c8f0d49aa62c3f9bee47f5eacbc0c2d8bb16031.zip Qt-9c8f0d49aa62c3f9bee47f5eacbc0c2d8bb16031.tar.gz Qt-9c8f0d49aa62c3f9bee47f5eacbc0c2d8bb16031.tar.bz2 |
Fixing layout margins for QWidgets in QFxView
Reviewed-by: Kai Koehne
-rw-r--r-- | src/declarative/util/qfxview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qfxview.cpp b/src/declarative/util/qfxview.cpp index 3acbf56..9291e1a 100644 --- a/src/declarative/util/qfxview.cpp +++ b/src/declarative/util/qfxview.cpp @@ -294,6 +294,7 @@ void QFxView::continueExecute() window()->setAttribute(Qt::WA_NoSystemBackground, false); if (!layout()) { setLayout(new QVBoxLayout); + layout()->setContentsMargins(0, 0, 0, 0); } else if (layout()->count()) { // Hide the QGraphicsView in GV mode. QLayoutItem *item = layout()->itemAt(0); |