From 443ff2789066d0e6c62a7b7ed4bfd87b28878d76 Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Tue, 5 Apr 2011 13:42:33 +0200
Subject: [PATCH] QmlDesigner.propertyEditor: fix for layout issues on Windows
 7

Reviewed-by: Marco Bubke
---
 .../qmldesigner/components/propertyeditor/propertyeditor.cpp     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
index 50f32723f5b..dbdd027603a 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
@@ -284,6 +284,7 @@ PropertyEditor::PropertyEditor(QWidget *parent) :
     QString styleSheet = QLatin1String(file.readAll());
     m_stackedWidget->setStyleSheet(styleSheet);
     m_stackedWidget->setMinimumWidth(300);
+    m_stackedWidget->move(0, 0);
     connect(m_stackedWidget, SIGNAL(resized()), this, SLOT(updateSize()));
 
     m_stackedWidget->insertWidget(0, new QWidget(m_stackedWidget));
-- 
GitLab