Browse Source

Ensure the layout delegate uses the correct font when painting a button.

pull/214/head
weisj 4 years ago
parent
commit
01c758de5b
  1. 1
      core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java

1
core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java

@ -180,6 +180,7 @@ public class DarkButtonUI extends BasicButtonUI implements ButtonConstants {
GraphicsContext config = new GraphicsContext(g);
AbstractButton b = (AbstractButton) c;
prepareDelegate(b);
paintButtonBackground(g, c);

Loading…
Cancel
Save