diff --git a/Modules/Dock/Dock.qml b/Modules/Dock/Dock.qml index eb70b95d6..b99ea670f 100644 --- a/Modules/Dock/Dock.qml +++ b/Modules/Dock/Dock.qml @@ -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); }