mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 14:20:12 +02:00
Reduce space between collapsed sections
In settings dialogs as well as entities editor.
This commit is contained in:
parent
382b05e00b
commit
13ab854a9d
5 changed files with 8 additions and 5 deletions
|
@ -406,6 +406,10 @@ input[type=checkbox]:checked + label:hover {
|
|||
right: 6px;
|
||||
}
|
||||
|
||||
.section-header[collapsed="true"] {
|
||||
margin-bottom: -22px;
|
||||
}
|
||||
|
||||
.text-group[collapsed="true"] ~ .text-group,
|
||||
.zone-group[collapsed="true"] ~ .zone-group,
|
||||
.web-group[collapsed="true"] ~ .web-group,
|
||||
|
|
|
@ -416,7 +416,6 @@ Window {
|
|||
anchors.top: assetDirectory.bottom
|
||||
anchors.bottom: uploadSection.top
|
||||
anchors.margins: 12
|
||||
anchors.bottomMargin: 0
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
|
@ -445,7 +444,7 @@ Window {
|
|||
name: "Upload A File"
|
||||
spacing: hifi.dimensions.contentSpacing.y
|
||||
anchors.bottom: parent.bottom
|
||||
height: 130
|
||||
height: 92
|
||||
|
||||
Item {
|
||||
height: parent.height
|
||||
|
|
|
@ -46,7 +46,7 @@ Column {
|
|||
Item {
|
||||
id: leadingSpace
|
||||
width: 1
|
||||
height: isFirst ? hifi.dimensions.contentSpacing.y : hifi.dimensions.controlInterlineHeight
|
||||
height: isFirst ? hifi.dimensions.contentSpacing.y : 0
|
||||
anchors.top: parent.top
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ Preference {
|
|||
|
||||
children: [ contentContainer ]
|
||||
|
||||
height: contentContainer.height + (root.isLast ? 2 * hifi.dimensions.contentSpacing.y : 0)
|
||||
height: contentContainer.height + (contentContainer.isCollapsed ? 0 : hifi.dimensions.controlInterlineHeight)
|
||||
|
||||
Component.onCompleted: d.buildPreferences();
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ Window {
|
|||
}
|
||||
|
||||
HifiControls.VerticalSpacer {
|
||||
height: 2 // Table view draws a little taller than it's height.
|
||||
height: hifi.dimensions.controlInterlineHeight + 2 // Table view draws a little taller than it's height.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue