mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
add a spacer in the layout
This commit is contained in:
parent
2f7c6056d7
commit
6e09e7d877
1 changed files with 5 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout.minimumWidth: root.width
|
Layout.minimumWidth: root.width
|
||||||
Layout.minimumHeight: appletsSpace.layout.children.count > 1 ? Math.max(applet.Layout.minimumHeight, root.height / 2) : root.height
|
Layout.minimumHeight: Math.max(applet.Layout.minimumHeight, root.height / 2)
|
||||||
|
|
||||||
Layout.preferredWidth: root.width
|
Layout.preferredWidth: root.width
|
||||||
Layout.preferredHeight: Layout.minimumHeight
|
Layout.preferredHeight: Layout.minimumHeight
|
||||||
|
|
@ -110,6 +110,10 @@ Item {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: mainLayout
|
id: mainLayout
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Item {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
SatelliteStripe {
|
SatelliteStripe {
|
||||||
id: stripe
|
id: stripe
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue