macOS light and dark themes (issue #497)

This commit is contained in:
Karl Tauber
2022-05-09 23:31:21 +02:00
parent bfede219d0
commit b459715cb5
20 changed files with 4039 additions and 43 deletions

View File

@@ -121,7 +121,7 @@ public class FlatJideSplitButtonUI
Object[] oldRenderingHints = FlatUIUtils.setRenderingHints( g );
FlatUIUtils.paintArrow( (Graphics2D) g, r.x, r.y, r.width, r.height,
SwingConstants.SOUTH, FlatUIUtils.isChevron( arrowType ), 6, 0, 0 );
SwingConstants.SOUTH, FlatUIUtils.isChevron( arrowType ), 6, 1, 0, 0 );
FlatUIUtils.resetRenderingHints( g, oldRenderingHints );
}
}

View File

@@ -891,7 +891,7 @@ public class FlatJideTabbedPaneUI
g.setColor( button.isEnabled() ? foreground : disabledForeground );
FlatUIUtils.paintArrow( (Graphics2D) g,
0, 0, button.getWidth(), button.getHeight(),
direction, FlatUIUtils.isChevron( arrowType ), 10, 0, 0 );
direction, FlatUIUtils.isChevron( arrowType ), 10, 1, 0, 0 );
FlatUIUtils.resetRenderingHints( g, oldRenderingHints );
}