Commit 2a1e2934 authored by Marco Martin's avatar Marco Martin

bottom bar always visible

parent dc125168
......@@ -154,8 +154,8 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
height: compositorRoot.state == "homeScreen" ? 0 : bottomBarHeight
color: Qt.rgba(0, 0, 0, 0.9 + 0.1*windowsZoom.scale)
height: bottomBarHeight
color: Qt.rgba(0, 0, 0, 0.7)
Behavior on height {
NumberAnimation {
......@@ -167,11 +167,32 @@ Rectangle {
RowLayout {
anchors.fill: parent
PlasmaCore.IconItem {
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
width: units.iconSizes.smallMedium
height: width
source: "distribute-horizontal-x"
enabled: compositorRoot.state != "switcher";
opacity: enabled ? 1 : 0.6
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: units.iconSizes.medium
Layout.preferredHeight: units.iconSizes.medium
MouseArea {
anchors.fill: parent
onClicked: {
compositorRoot.state = "switcher";
}
}
}
PlasmaCore.IconItem {
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
width: units.iconSizes.smallMedium
height: width
source: "go-home"
enabled: compositorRoot.state != "homeScreen";
opacity: enabled ? 1 : 0.6
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: units.iconSizes.medium
......
......@@ -312,7 +312,7 @@ Item {
right: parent.right
}
height: units.iconSizes.small
z: 1
z: 2
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
Rectangle {
......@@ -401,16 +401,11 @@ Item {
PlasmaCore.ColorScope {
z: 1
anchors {
top: statusPanel.bottom
bottom: parent.bottom
left: parent.left
right: parent.right
fill: parent
}
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
SatelliteComponents.ApplicationListModel {
id: appListModel
}
......@@ -432,7 +427,7 @@ Item {
header: MouseArea {
z: 999
width: homescreen.width
height: homescreen.height
height: homescreen.height - units.iconSizes.medium
onPressAndHold: {
containment.action("configure").trigger();
......@@ -504,7 +499,7 @@ Item {
SatelliteStripe {
id: stripe
z: 99
y: Math.max(applications.contentY + parent.height, parent.height - height - statusPanel.height)
y: Math.max(applications.contentY + parent.height, parent.height - height)
PlasmaCore.Svg {
id: stripeIcons
......
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