Commit c60cfce8 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.propertyEditor: enlarge labels

parent 41d2e661
......@@ -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;
}
}
......
......@@ -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: ""
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment