mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(active-window): fix vertical centering, more robust if fonts get bigger than icon.
This commit is contained in:
@@ -220,8 +220,7 @@ Item {
|
||||
// Horizontal layout for top/bottom bars
|
||||
RowLayout {
|
||||
id: rowLayout
|
||||
height: iconSize
|
||||
y: Style.pixelAlignCenter(parent.height, height)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: Style.marginS
|
||||
visible: !isVerticalBar
|
||||
z: 1
|
||||
|
||||
Reference in New Issue
Block a user