dock: align icon row inside the visible rectangle (match its insets)
This commit is contained in:
parent
0e1f233857
commit
0beeb80357
1 changed files with 11 additions and 3 deletions
|
|
@ -226,9 +226,17 @@ Scope { // Scope
|
|||
|
||||
RowLayout {
|
||||
id: dockRow
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
// Match the visible rectangle's insets (see
|
||||
// dockVisualBackground) so the icon row lands
|
||||
// INSIDE the rounded pill, not overflowing its
|
||||
// top/bottom edges.
|
||||
anchors {
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
topMargin: Appearance.sizes.elevationMargin
|
||||
bottomMargin: Appearance.sizes.hyprlandGapsOut
|
||||
}
|
||||
spacing: 3
|
||||
property real padding: 5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue