From a0bbb16aebf040570763f8cd17995e0d5d6fb70c Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Thu, 28 Jan 2010 17:42:03 +0100
Subject: [PATCH] QmlDesigner.propertyEditor: relayout FontGroupBox.qml

---
 .../propertyeditor/Qt/FontGroupBox.qml        | 26 ++++++++++++-------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml
index f8c89a880cc..5418007450b 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml
@@ -12,19 +12,26 @@ GroupBox {
                 Label {
                     text: "Font"
                 }
-                QFontComboBox {
-                    minimumWidth: 200
+                QWidget {
+                    id: parentWidget
+                    minimumWidth: 180
+                    minimumHeight: 24
+                    QFontComboBox {
+                        width: parentWidget.width
+                        height: parentWidget.height
+                    }
                 }
-                IntEditor {
-                    caption: "Size"
-                    slider: false
-                    backendValue: backendValues.font_pointSize
-                    baseStateFlag: isBaseState;
-                }
-
             }
         }
 
+        IntEditor {
+            maximumWidth: 200
+            caption: "Size"
+            slider: false
+            backendValue: backendValues.font_pointSize
+            baseStateFlag: isBaseState;
+        }
+
         QWidget {
             layout: HorizontalLayout {
                 Label {
@@ -43,6 +50,7 @@ GroupBox {
                     baseStateFlag: isBaseState;
                     checkable: true;
                 }
+
             }
         }
     }
-- 
GitLab