Browse Source

Increase padding from frame edge to icon. [windows]

pull/139/head
weisj 5 years ago
parent
commit
c9a274f5ca
  1. 4
      windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java

4
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;
}

Loading…
Cancel
Save