diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java index aa1494f2..8daefa9d 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java @@ -144,7 +144,6 @@ public class DarkButtonUI extends BasicButtonUI implements PropertyChangeListene b.setFont(b.getFont().deriveFont(Font.BOLD)); Dimension size = BasicGraphicsUtils.getPreferredButtonSize(b, b.getIconTextGap()); b.setFont(oldFont); -// size.width += 2 * borderSize; return size; }