diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Label.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Label.qml index c3af2d8b6dc..d2736a4a898 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Label.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Label.qml @@ -6,5 +6,5 @@ QLabel { font.bold: true; alignment: "Qt::AlignRight | Qt::AlignVCenter" - fixedWidth: 90 + fixedWidth: 98 } diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml index 064aa1d42ea..0a188ae7280 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml @@ -9,6 +9,8 @@ GroupBox { id: layout; enabled: anchorBackend.hasParent; + property var targetLabelWidth: 90 - 20 - 26 + layout: VerticalLayout { QLabel { text: "Anchors" @@ -40,7 +42,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode @@ -87,7 +89,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode @@ -134,7 +136,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode @@ -180,7 +182,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode @@ -226,7 +228,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode @@ -272,7 +274,7 @@ GroupBox { Label { text: "Target" - fixedWidth: 90 - 20 - 32 + fixedWidth: targetLabelWidth } SiblingComboBox { itemNode: anchorBackend.itemNode