forked from qt-creator/qt-creator
QmlDesigner: Fix layout in templates
Because the templates did not use the pre-defined layout, the layout was bit broken. Change-Id: I3a11e78a8dd6ac81252fa51270de5d427e5de0c2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -2,6 +2,8 @@ Label {
|
|||||||
text: "%1"
|
text: "%1"
|
||||||
tooltip: "%1"
|
tooltip: "%1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
maximumValue: 9999999
|
maximumValue: 9999999
|
||||||
minimumValue: -9999999
|
minimumValue: -9999999
|
||||||
@@ -9,3 +11,7 @@ SpinBox {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.maximumWidth: 100
|
Layout.maximumWidth: 100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ExpandingSpacer {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -2,6 +2,8 @@ Label {
|
|||||||
text: "%1"
|
text: "%1"
|
||||||
tooltip: "%1"
|
tooltip: "%1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
maximumValue: 9999999
|
maximumValue: 9999999
|
||||||
minimumValue: -9999999
|
minimumValue: -9999999
|
||||||
@@ -11,3 +13,6 @@ SpinBox {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.maximumWidth: 100
|
Layout.maximumWidth: 100
|
||||||
}
|
}
|
||||||
|
ExpandingSpacer {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user