Browse Source

Ensure HelpButton doesn't get converted to a borderless varaint.

pull/214/head
weisj 4 years ago
parent
commit
3eb63aa025
  1. 1
      core/src/main/java/com/github/weisj/darklaf/components/help/HelpButton.java

1
core/src/main/java/com/github/weisj/darklaf/components/help/HelpButton.java

@ -42,6 +42,7 @@ public class HelpButton extends JButton {
protected void init() {
putClientProperty(DarkButtonUI.KEY_SQUARE, true);
putClientProperty(DarkButtonUI.KEY_ROUND, true);
putClientProperty(DarkButtonUI.KEY_NO_BORDERLESS_OVERWRITE, true);
setIcon(UIManager.getIcon("HelpButton.helpHighlightIcon"));
setDisabledIcon(UIManager.getIcon("HelpButton.helpDisabledIcon"));
}

Loading…
Cancel
Save