mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 17:01:26 +02:00
Defer dialog vertical spacing decisions to content items
This commit is contained in:
parent
4729020df1
commit
a41f409e33
2 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,7 @@ Column {
|
||||||
property bool isCollapsible: false // Set at creation.
|
property bool isCollapsible: false // Set at creation.
|
||||||
property bool isCollapsed: false
|
property bool isCollapsed: false
|
||||||
|
|
||||||
spacing: hifi.dimensions.contentSpacing.y
|
spacing: 0 // Defer spacing decisions to individual controls.
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
|
|
|
@ -107,6 +107,8 @@ Item {
|
||||||
readonly property real tableRowHeight: largeScreen ? 26 : 23
|
readonly property real tableRowHeight: largeScreen ? 26 : 23
|
||||||
readonly property vector2d modalDialogMargin: Qt.vector2d(50, 30)
|
readonly property vector2d modalDialogMargin: Qt.vector2d(50, 30)
|
||||||
readonly property real modalDialogTitleHeight: 40
|
readonly property real modalDialogTitleHeight: 40
|
||||||
|
readonly property real controlLineHeight: 29 // Height of spinbox control on 1920 x 1080 monitor
|
||||||
|
readonly property real controlInterlineHeight: 22 // 75% of controlLineHeight
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
Loading…
Reference in a new issue