Watch
1
0
Fork
You've already forked souveraine
0

dock: align icon row inside the visible rectangle (match its insets)

This commit is contained in:
Fimeg 2026-07-12 11:13:24 -04:00
commit 0beeb80357

View file

@ -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