Karl Tauber
e3ed47b37c
show mnemonics always when a menu bar is active or a popup menu is visible
2020-04-29 23:56:15 +02:00
Karl Tauber
976353d770
Menus: on Windows, pressing F10 now activates the menu bar without showing a menu popup
2020-04-29 23:29:34 +02:00
Karl Tauber
6fc216dff5
Menus: fixed text color of selected menu items that use HTML (issue #87 )
2020-04-29 19:22:09 +02:00
Karl Tauber
3f3961d255
fixed broken FlatTestLaf.properties
2020-04-29 19:14:18 +02:00
Karl Tauber
875637bc6d
Menus: support switching "underline" menu selection type at any time without updating UI (issue #49 )
2020-04-29 14:46:33 +02:00
Karl Tauber
395333cb3d
Merge branch 'origin/menu-layout' into master
2020-04-29 13:39:51 +02:00
Karl Tauber
870d039541
hide mnemonics if window is deactivated (e.g. Alt+Tab to another window) (issue #43 )
2020-04-29 12:06:00 +02:00
Karl Tauber
e8c8bece3f
Menus: support "underline" menu selection type (suggested in issue #49 )
2020-04-29 00:26:25 +02:00
Karl Tauber
bd2f5dd6fe
Menus: if checkbox/radiobutton menu item is selected and also has a custom icon, then use filled icon background to indicate selection (instead of using checkIcon) (issue #3 )
2020-04-28 18:00:01 +02:00
Karl Tauber
73f78d47ae
refactored mnemonic code into own class
2020-04-28 12:02:10 +02:00
Karl Tauber
8f60755f02
release 0.33
0.33
2020-04-27 18:39:02 +02:00
Karl Tauber
44c455419b
IntelliJ Themes: added Java 9 module descriptor to flatlaf-intellij-themes-<version>.jar
2020-04-27 18:25:49 +02:00
Karl Tauber
129bc9b3ae
IntelliJ Themes Pack: use absolute resource location for loading themes (PR #88 , issue #89 )
2020-04-27 16:28:38 +02:00
Karl T
08ba7dd065
Merge pull request #88 from matt-pan/patch-1
...
IntelliJ Themes: Fix relative resource location for Material UI Lite Themes
2020-04-27 16:14:50 +02:00
Karl Tauber
dd2cf50a39
Menus: use simpler method to compute center offset (same as in SwingUtilities.layoutCompoundLabel()), which gives same results and avoids floats
2020-04-27 13:14:11 +02:00
Karl Tauber
06eeced5b2
Menus: made accelerator text in dark themes brighter; updated UI defaults dumps (issue #3 )
2020-04-27 12:07:06 +02:00
Karl Tauber
be23e5709d
Menus: support alignment and text position properties (issue #3 )
2020-04-27 11:52:11 +02:00
Karl Tauber
2735185eb9
Menus: fixed icon in top-level JMenu (issue #3 )
2020-04-26 14:20:09 +02:00
Karl Tauber
41dd0acfa3
Menus: use disabled and pressed icons (issue #3 )
2020-04-26 11:27:59 +02:00
Karl Tauber
115a2df2b0
Menus: support HTML in new layout (issue #3 )
2020-04-26 10:35:23 +02:00
Karl Tauber
fcbb3aeed1
Menus: new menu item layout and renderer
...
- stable left margin (always space for one icon)
- right aligned accelerators
- larger gap between text and accelerator
current limitations:
- no HTML text support
- text not vertically aligned with other menu items if icons have different sizes
- vertical/horizontal alignment/textPosition properties are ignored
(issues #3 and #54 )
2020-04-26 10:13:52 +02:00
matt-pan
e9cb85127a
Fix relative resource location
...
Using flatlaf intellijthemes as a dependency does not work for all themes from the subfolder 'material-theme-ui-lite' because of the usage of ".." to to load the resource.
2020-04-25 17:46:57 +02:00
Karl Tauber
c9c703fe98
support multi-resolution images in disabled icons on Java 9+ (e.g. @2x icons on macOS) (issue #70 )
2020-04-24 17:07:30 +02:00
Karl Tauber
0141dfbea2
CHANGELOG.md: added IntelliJ Theme fixes
2020-04-24 00:55:49 +02:00
Karl Tauber
fb7dafbc39
Merge branch 'disabled-icons' into master
2020-04-24 00:54:05 +02:00
Karl Tauber
0660f9a511
improved creation of disabled grayscale icons (issue #70 )
2020-04-24 00:46:16 +02:00
Karl Tauber
a39ae5a8c5
FlatDisabledIconsTest: support palette icons
2020-04-24 00:16:44 +02:00
Karl Tauber
03e22e3dbf
Demo: exclude module-info.class from JAR
2020-04-23 23:54:54 +02:00
Karl Tauber
d5e9fd0e5c
IntelliJ Themes:
...
- fixed ComboBox size and Spinner border in all Material UI Lite themes
- limit tree row height in all Material UI Lite themes and some other themes
2020-04-23 23:46:14 +02:00
Karl Tauber
141138ebea
IntelliJ Themes Pack: added readme
2020-04-23 18:16:57 +02:00
Karl Tauber
9026efeb26
release 0.32
0.32
2020-04-23 16:04:31 +02:00
Karl Tauber
2ab023beb0
UIDefaultsDump: used FlatAllIJThemes instead of IJThemesManager to get list of IJ themes
2020-04-23 14:02:25 +02:00
Karl Tauber
8e471fd720
IntelliJ Themes: generated Java classes for all themes (used IJThemesClassGenerator)
2020-04-23 13:59:59 +02:00
Karl Tauber
13cbbd8bc1
IntelliJ Themes: moved themes into own sub-project and build a JAR that contains all themes
2020-04-23 11:06:12 +02:00
Karl Tauber
b08ccc9767
UIDefaultsLoader: no longer support/use derived colors without base colors
2020-04-22 11:49:44 +02:00
Karl Tauber
801a7023a4
IntelliJ Themes: fixed toggle button selected backgrounds (issue #86 )
2020-04-22 10:30:14 +02:00
Karl Tauber
dd06b554da
ToggleButton: compute selected background color based on current component background (issue #32 )
2020-04-22 09:48:58 +02:00
Karl Tauber
23f0504b30
IntelliJ Themes: fixed toggle button unselected background in most themes and foreground in Darcula and One Dark themes (issue #86 )
2020-04-21 14:39:11 +02:00
Karl Tauber
262d172cde
IntelliJ Themes: removed code that is obsolete since supporting gradient button background/border colors in commit de82dac8
...
make sure that gradient colors are predefined for improved compatibility
this fixes button background in Arc themes and toggle button background in Dark Flat and Light Flat themes
2020-04-21 10:02:11 +02:00
Karl Tauber
be81cb7876
IntelliJ Themes Demo: removed IntelliJ Light Preview theme because Flat light already uses colors from this theme since commit 78d5e03a
2020-04-21 09:41:53 +02:00
Karl Tauber
aaf9bd33cb
UIDefaultsDump: support dumping IntelliJ themes (disabled)
...
can be used to check changes to UI defaults when modifying the IntelliJ theme converter
2020-04-21 09:37:24 +02:00
Karl Tauber
7381e2141f
IntelliJ Themes Demo: updated Dracula, Gruvbox and Hiberbee themes (used IJThemesUpdater)
2020-04-21 00:10:18 +02:00
Karl Tauber
3923d941c1
IntelliJ Themes Demo: updated Material UI Lite themes (used IJThemesUpdater)
...
List.selectionInactiveBackground and Tree.selectionInactiveBackground now have better visible colors; other changes seem to be not used in FlatLaf
2020-04-20 23:28:39 +02:00
Karl Tauber
d134c33499
release 0.31
0.31
2020-04-20 11:44:00 +02:00
Karl Tauber
a2b615d4a7
focus indication border (or background) no longer hidden when temporary loosing focus (e.g. showing a popup menu)
2020-04-20 11:27:29 +02:00
Karl Tauber
37ecd9bd4f
FlatDisabledIconsTest: renamed @2x_dark.png icons to _dark@2x.png so that they are automatically loaded on macOS Retina displays
2020-04-19 10:23:40 +02:00
Karl Tauber
2e1acb7871
List, Table and Tree: item selection color of focused components no longer change from blue to gray when temporary loosing focus (e.g. showing a popup menu)
2020-04-17 19:14:48 +02:00
Karl Tauber
2250185487
Testing: FlatDisabledIconsTest: use intellij dark icons in dark themes
2020-04-14 12:41:14 +02:00
Karl Tauber
97a1bf90a4
README.md: added Total Validator and GUIslice Builder to list of projects that use FlatLaf
2020-04-14 10:16:37 +02:00
Karl Tauber
73cb63c9f9
Testing: added FlatDisabledIconsTest to compare different methods to create disabled icons
2020-04-13 15:48:07 +02:00