forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: enlarge labels
This commit is contained in:
@@ -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: ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user