diff --git a/windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java b/windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java index 00e2cd3c..00bf8933 100644 --- a/windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java +++ b/windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java @@ -709,8 +709,8 @@ public class WindowsTitlePane extends CustomTitlePane { .getIconWidth()) : ICON_WIDTH; windowButtonWidth = Math.min(ICON_WIDTH, windowButtonWidth); - windowIconButton.setBounds(start + PAD / 2, y, windowButtonWidth, height); - start += windowButtonWidth + PAD; + windowIconButton.setBounds(start + PAD, y, windowButtonWidth, height); + start += windowButtonWidth + 2 * PAD; left = start; }