mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
better margins around bottom toolbar
This commit is contained in:
parent
6df97ae3a7
commit
0a5fd82410
1 changed files with 5 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ Rectangle {
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
bottomMargin: editOverlay.height - (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height)
|
bottomMargin: editOverlay.height - (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height)
|
||||||
}
|
}
|
||||||
height: buttonsLayout.height + margins.top
|
height: buttonsLayout.height + fixedMargins.top + fixedMargins.bottom/2
|
||||||
imagePath: "widgets/background"
|
imagePath: "widgets/background"
|
||||||
enabledBorders: PlasmaCore.FrameSvg.TopBorder
|
enabledBorders: PlasmaCore.FrameSvg.TopBorder
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
@ -105,7 +105,10 @@ Rectangle {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
top: parent.top
|
top: parent.top
|
||||||
topMargin: parent.margins.top
|
topMargin: parent.fixedMargins.top
|
||||||
|
leftMargin: parent.fixedMargins.left/2
|
||||||
|
rightMargin: parent.fixedMargins.right/2
|
||||||
|
bottomMargin: parent.fixedMargins.bottom/2
|
||||||
}
|
}
|
||||||
PlasmaComponents.ToolButton {
|
PlasmaComponents.ToolButton {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue