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:
Miikka Heikkinen
2022-09-20 16:14:51 +03:00
parent 145ecd040f
commit e936ef2fdb
4 changed files with 36 additions and 36 deletions

View File

@@ -3,8 +3,7 @@ PropertyLabel {
tooltip: "%1"
}
ColumnLayout {
SecondColumnLayout {
SecondColumnLayout {
SpinBox {
minimumValue: -9999999
maximumValue: 9999999
@@ -38,5 +37,4 @@ ColumnLayout {
}
ExpandingSpacer {}
}
}

View File

@@ -4,6 +4,7 @@ PropertyLabel {
}
ColumnLayout {
spacing: StudioTheme.Values.sectionRowSpacing / 2
SecondColumnLayout {
SpinBox {
minimumValue: -9999999

View File

@@ -4,6 +4,7 @@ PropertyLabel {
}
ColumnLayout {
spacing: StudioTheme.Values.sectionRowSpacing / 2
SecondColumnLayout {
SpinBox {
minimumValue: -9999999

View File

@@ -297,7 +297,7 @@ Section {
onVecSizeChanged: updateProxyValues()
spacing: StudioTheme.Values.sectionRowSpacing
spacing: StudioTheme.Values.sectionRowSpacing / 2
function isValidValue(v) {
return !(v === undefined || isNaN(v))