mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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,7 +32,8 @@ PlasmaCore.ColorScope {
|
|||
height: 480
|
||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||
|
||||
|
||||
Plasmoid.backgroundHints: plasmoid.configuration.PanelButtonsVisible ? PlasmaCore.Types.StandardBackground : PlasmaCore.Types.NoBackground
|
||||
|
||||
property QtObject taskSwitcher: taskSwitcherLoader.item ? taskSwitcherLoader.item : null
|
||||
Loader {
|
||||
id: taskSwitcherLoader
|
||||
|
|
@ -95,6 +96,7 @@ PlasmaCore.ColorScope {
|
|||
width: 600
|
||||
height: 40
|
||||
|
||||
visible: plasmoid.configuration.PanelButtonsVisible
|
||||
property Item toolBox
|
||||
|
||||
Button {
|
||||
|
|
|
|||
|
|
@ -22,17 +22,17 @@ import QtQuick.Layouts 1.1
|
|||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
|
||||
Rectangle {
|
||||
Item {
|
||||
id: root
|
||||
|
||||
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
||||
color: theme.textColor
|
||||
property Item containment
|
||||
|
||||
onContainmentChanged: {
|
||||
containment.parent = root;
|
||||
containment.visible = true;
|
||||
containment.anchors.fill = root;
|
||||
panel.backgroundHints = containment.backgroundHints;
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue