Defer dialog vertical spacing decisions to content items

This commit is contained in:
David Rowe 2016-03-03 17:49:18 +13:00
parent 4729020df1
commit a41f409e33
2 changed files with 3 additions and 1 deletions

View file

@ -19,7 +19,7 @@ Column {
property bool isCollapsible: false // Set at creation.
property bool isCollapsed: false
spacing: hifi.dimensions.contentSpacing.y
spacing: 0 // Defer spacing decisions to individual controls.
anchors {
left: parent.left

View file

@ -107,6 +107,8 @@ Item {
readonly property real tableRowHeight: largeScreen ? 26 : 23
readonly property vector2d modalDialogMargin: Qt.vector2d(50, 30)
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 {