mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
shell: Fix wallpaper config footer being cutoff
This commit is contained in:
parent
83790daccd
commit
ccdba75a3c
1 changed files with 12 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ import org.kde.kirigamiaddons.labs.mobileform 0.1 as MobileForm
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: root
|
id: root
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
property string currentWallpaper: ""
|
property string currentWallpaper: ""
|
||||||
property string containmentPlugin: configDialog.containmentPlugin
|
property string containmentPlugin: configDialog.containmentPlugin
|
||||||
|
|
@ -38,6 +39,7 @@ ColumnLayout {
|
||||||
//END functions
|
//END functions
|
||||||
|
|
||||||
Kirigami.InlineMessage {
|
Kirigami.InlineMessage {
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
visible: plasmoid.immutable || animating
|
visible: plasmoid.immutable || animating
|
||||||
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Layout changes have been restricted by the system administrator")
|
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Layout changes have been restricted by the system administrator")
|
||||||
showCloseButton: true
|
showCloseButton: true
|
||||||
|
|
@ -48,7 +50,9 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
id: generalConfig
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
MobileForm.FormCard {
|
MobileForm.FormCard {
|
||||||
|
|
@ -158,6 +162,7 @@ ColumnLayout {
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: switchContainmentWarning
|
id: switchContainmentWarning
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: configDialog.containmentPlugin !== root.containmentPlugin
|
visible: configDialog.containmentPlugin !== root.containmentPlugin
|
||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
|
|
@ -174,19 +179,23 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillHeight: true
|
Layout.alignment: Qt.AlignTop
|
||||||
|
Layout.fillHeight: switchContainmentWarning.visible
|
||||||
visible: switchContainmentWarning.visible
|
visible: switchContainmentWarning.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: emptyConfig
|
id: emptyConfig
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
}
|
}
|
||||||
|
|
||||||
QQC2.StackView {
|
QQC2.StackView {
|
||||||
id: main
|
id: main
|
||||||
|
|
||||||
Layout.fillHeight: true;
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true;
|
Layout.fillHeight: true
|
||||||
|
Layout.maximumHeight: root.height - generalConfig.height - 70 // HACK: wallpaper configs seem to go over the provisioned height
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
visible: !switchContainmentWarning.visible
|
visible: !switchContainmentWarning.visible
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue