mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 22:44:15 +02:00
Right justify leading control labels
This commit is contained in:
parent
81f13afb4e
commit
46bb3c05a5
4 changed files with 7 additions and 3 deletions
|
@ -35,9 +35,10 @@ Preference {
|
|||
anchors {
|
||||
left: parent.left
|
||||
right: dataComboBox.left
|
||||
rightMargin: hifi.dimensions.contentSpacing.x
|
||||
rightMargin: hifi.dimensions.labelPadding
|
||||
verticalCenter: dataComboBox.verticalCenter
|
||||
}
|
||||
horizontalAlignment: Text.AlignRight
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
|
|
|
@ -33,9 +33,10 @@ Preference {
|
|||
anchors {
|
||||
left: parent.left
|
||||
right: slider.left
|
||||
rightMargin: hifi.dimensions.contentSpacing.x
|
||||
rightMargin: hifi.dimensions.labelPadding
|
||||
verticalCenter: slider.verticalCenter
|
||||
}
|
||||
horizontalAlignment: Text.AlignRight
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
|
|
|
@ -32,9 +32,10 @@ Preference {
|
|||
anchors {
|
||||
left: parent.left
|
||||
right: spinner.left
|
||||
rightMargin: hifi.dimensions.contentSpacing.x
|
||||
rightMargin: hifi.dimensions.labelPadding
|
||||
verticalCenter: spinner.verticalCenter
|
||||
}
|
||||
horizontalAlignment: Text.AlignRight
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@ Item {
|
|||
readonly property real borderWidth: largeScreen ? 2 : 1
|
||||
readonly property vector2d contentMargin: Qt.vector2d(12, 24)
|
||||
readonly property vector2d contentSpacing: Qt.vector2d(8, 12)
|
||||
readonly property real labelPadding: 40
|
||||
readonly property real textPadding: 8
|
||||
readonly property real sliderHandleSize: 18
|
||||
readonly property real sliderGrooveHeight: 8
|
||||
|
|
Loading…
Reference in a new issue