mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 14:33:08 +00:00
config value to completely hide bottom panel
it stays there just for input area
This commit is contained in:
parent
ec8cf59ddb
commit
d60897c0e9
2 changed files with 5 additions and 3 deletions
|
|
@ -32,6 +32,7 @@ PlasmaCore.ColorScope {
|
||||||
height: 480
|
height: 480
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
|
|
||||||
|
Plasmoid.backgroundHints: plasmoid.configuration.PanelButtonsVisible ? PlasmaCore.Types.StandardBackground : PlasmaCore.Types.NoBackground
|
||||||
|
|
||||||
property QtObject taskSwitcher: taskSwitcherLoader.item ? taskSwitcherLoader.item : null
|
property QtObject taskSwitcher: taskSwitcherLoader.item ? taskSwitcherLoader.item : null
|
||||||
Loader {
|
Loader {
|
||||||
|
|
@ -95,6 +96,7 @@ PlasmaCore.ColorScope {
|
||||||
width: 600
|
width: 600
|
||||||
height: 40
|
height: 40
|
||||||
|
|
||||||
|
visible: plasmoid.configuration.PanelButtonsVisible
|
||||||
property Item toolBox
|
property Item toolBox
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
|
|
|
||||||
|
|
@ -22,17 +22,17 @@ import QtQuick.Layouts 1.1
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
|
|
||||||
|
|
||||||
Rectangle {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
||||||
color: theme.textColor
|
|
||||||
property Item containment
|
property Item containment
|
||||||
|
|
||||||
onContainmentChanged: {
|
onContainmentChanged: {
|
||||||
containment.parent = root;
|
containment.parent = root;
|
||||||
containment.visible = true;
|
containment.visible = true;
|
||||||
containment.anchors.fill = root;
|
containment.anchors.fill = root;
|
||||||
|
panel.backgroundHints = containment.backgroundHints;
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue