Fix bar icon positioning in horizontal mode

This commit is contained in:
David Heinemeier Hansson
2026-05-20 14:56:42 +02:00
parent fab0d69e87
commit 20ff942481
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -888,7 +888,7 @@ Item {
return componentLoader.item
}
implicitWidth: activeItem && activeItem.visible ? activeItem.implicitWidth : 0
implicitWidth: activeItem && activeItem.visible ? (root.vertical ? root.barSize : activeItem.implicitWidth) : 0
implicitHeight: activeItem && activeItem.visible ? activeItem.implicitHeight : 0
width: implicitWidth
height: implicitHeight