forked from qt-creator/qt-creator
QmlDesigner: Reduce vertical gap between vector fields
This helps to differentiate which fields belong to which property when multiple vertor properties are added next to each other. Fixes: QDS-7704 Change-Id: I885e6d3d12a11851668e7c4d66f94f3356e5f082 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -3,7 +3,6 @@ PropertyLabel {
|
|||||||
tooltip: "%1"
|
tooltip: "%1"
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
minimumValue: -9999999
|
minimumValue: -9999999
|
||||||
@@ -39,4 +38,3 @@ ColumnLayout {
|
|||||||
|
|
||||||
ExpandingSpacer {}
|
ExpandingSpacer {}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@@ -4,6 +4,7 @@ PropertyLabel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
spacing: StudioTheme.Values.sectionRowSpacing / 2
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
minimumValue: -9999999
|
minimumValue: -9999999
|
||||||
|
@@ -4,6 +4,7 @@ PropertyLabel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
spacing: StudioTheme.Values.sectionRowSpacing / 2
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
minimumValue: -9999999
|
minimumValue: -9999999
|
||||||
|
@@ -297,7 +297,7 @@ Section {
|
|||||||
|
|
||||||
onVecSizeChanged: updateProxyValues()
|
onVecSizeChanged: updateProxyValues()
|
||||||
|
|
||||||
spacing: StudioTheme.Values.sectionRowSpacing
|
spacing: StudioTheme.Values.sectionRowSpacing / 2
|
||||||
|
|
||||||
function isValidValue(v) {
|
function isValidValue(v) {
|
||||||
return !(v === undefined || isNaN(v))
|
return !(v === undefined || isNaN(v))
|
||||||
|
Reference in New Issue
Block a user