Commit d60897c0 authored by Marco Martin's avatar Marco Martin

config value to completely hide bottom panel

it stays there just for input area
parent ec8cf59d
......@@ -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: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment