controlpanel: maintain proper size
This commit is contained in:
parent
e339439ee8
commit
23c1c02a33
1 changed files with 20 additions and 2 deletions
|
|
@ -228,10 +228,27 @@ RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
ColumnLayout {
|
StyledFlickable {
|
||||||
|
id: rightFlickable
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Appearance.padding.large * 2
|
anchors.margins: Appearance.padding.large * 2
|
||||||
|
|
||||||
|
flickableDirection: Flickable.VerticalFlick
|
||||||
|
contentHeight: contentLayout.implicitHeight
|
||||||
|
clip: true
|
||||||
|
|
||||||
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
|
flickable: rightFlickable
|
||||||
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
id: contentLayout
|
||||||
|
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.top: parent.top
|
||||||
|
|
||||||
spacing: Appearance.spacing.normal
|
spacing: Appearance.spacing.normal
|
||||||
|
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
|
|
@ -370,6 +387,7 @@ RowLayout {
|
||||||
onMoved: Audio.setSourceVolume(value)
|
onMoved: Audio.setSourceVolume(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
InnerBorder {
|
InnerBorder {
|
||||||
leftThickness: Appearance.padding.normal / 2
|
leftThickness: Appearance.padding.normal / 2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue