Update Dock.qml

This commit is contained in:
notiant
2026-02-22 21:30:45 +01:00
committed by GitHub
parent 9e30a6112b
commit d6d5bcd84e
+1 -1
View File
@@ -153,7 +153,7 @@ Loader {
return 0;
const spacing = Style.marginS;
const layoutLength = (iconSize * dockItemCount) + (spacing * Math.max(0, dockItemCount - 1));
const padded = layoutLength + Style.margin2XL * 6;
const padded = layoutLength + (showFrameIndicator ? Style.marginXL : Style.margin2XL * 6);
return Math.min(padded, isVertical ? maxHeight : maxWidth);
}