mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
Styling:
- support references in color functions - added test for using color functions in styling
This commit is contained in:
@@ -131,7 +131,9 @@ class FlatThemeFileEditor
|
||||
darkLafMenuItem.setSelected( true );
|
||||
|
||||
// highlight selected tab
|
||||
tabbedPane.setStyle( "[light]selectedBackground: #fff; [dark]selectedBackground: #303234" );
|
||||
tabbedPane.setStyle(
|
||||
"[light]selectedBackground: lighten($TabbedPane.background,5%);" +
|
||||
" [dark]selectedBackground: darken($TabbedPane.background,5%)" );
|
||||
|
||||
// add "+" button to tabbed pane
|
||||
newButton = new JButton( new FlatSVGIcon( "com/formdev/flatlaf/themeeditor/icons/add.svg" ) );
|
||||
|
||||
Reference in New Issue
Block a user