From c60cfce88c582e07e8e524f823a273ac1b59a6dc Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Fri, 6 May 2011 18:07:11 +0200
Subject: [PATCH] QmlDesigner.propertyEditor: enlarge labels

---
 .../qmldesigner/propertyeditor/Qt/PropertyFrame.qml         | 6 +++---
 .../qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml  | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml
index 71e09229807..13086c4cbc0 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml
@@ -6,17 +6,17 @@ WidgetFrame {
 
     minimumWidth: 300;
     property int frameWidth: width
-    property int labelWidth: 76
+    property int labelWidth: 96
     
     onFrameWidthChanged: {
         if (frameWidth > 300) {
             var moreSpace = (frameWidth - 300) / 3;
-            var newFixedWidth = 76 + moreSpace;
+            var newFixedWidth = 96 + moreSpace;
             if (newFixedWidth > 200)
                 newFixedWidth = 200;
             labelWidth = newFixedWidth;
         } else {
-            labelWidth = 76;
+            labelWidth = 96;
         }
     }
     
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml
index 9deb7e28a6f..b6b262d3d2e 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml
@@ -16,7 +16,8 @@ GroupBox {
                 }
                 CheckBox {
                     id: visibleCheckBox;
-                    text: qsTr("Is visible")
+                    text: qsTr("visible")
+                    toolTip: qsTr("isVisible")
                     backendValue: backendValues.visible;
                     baseStateFlag: isBaseState;
                     checkable: true;
@@ -32,6 +33,7 @@ GroupBox {
         }
         QWidget {
             layout: HorizontalLayout {
+                spacing: 4
                 Label {                    
                     text: ""
                 }
-- 
GitLab