Karl Tauber
27a347db34
PopupMenu on macOS: enabled drop shadows for popup menus and combobox popups (issue #94 )
2020-05-05 19:20:48 +02:00
Karl Tauber
e79880d305
ToolTip: made border darker (to make it better and no longer paint disabled tips (issue #94 )
2020-05-05 18:44:54 +02:00
Karl Tauber
34266761d1
UIDefaultsDump: dump FlatLineBorder parameters because they may be specified in properties files
2020-05-05 16:34:30 +02:00
Karl Tauber
77f17eaa3e
FlatPropertiesLaf class added that allows creating FlatLaf theme from properties (issue #97 )
2020-05-05 15:13:21 +02:00
Karl Tauber
ac70342cb3
Menus: made check background margin smaller (issue #96 )
2020-05-05 13:56:41 +02:00
Karl Tauber
d2f16dcaf3
Menus:
...
- added 1px to menu item top and bottom margin
- changed gap between menu item icon and text from 4 to 6
- improved colors of checked menu items that have a icon
(issue #96 )
2020-05-05 12:31:33 +02:00
Karl Tauber
abcce2bf68
Table: fixed inconsistent table selection / move shortcuts (issue #95 )
2020-05-04 13:30:42 +02:00
Karl Tauber
514487074b
Menus: after Alt+Tab to other window and back, activating menu with Alt key did not always work (issue #43 )
2020-05-04 12:08:47 +02:00
Karl Tauber
f014e2473f
Menus: on Windows, releasing Alt key now activates the menu bar (issue #43 )
2020-05-04 10:57:10 +02:00
Karl Tauber
4bd3b889dc
FlatSVGIcon: support color filtering
2020-05-03 18:21:00 +02:00
Karl Tauber
464787dc1e
FlatSVGIcon: use grayFilter and graphics proxy to paint disabled icons without bitmaps
2020-05-02 23:48:46 +02:00
Karl Tauber
a2541a9659
Menus: added gap between accelerator and arrow in menu items (issue #91 )
2020-05-02 19:16:33 +02:00
Karl Tauber
099dd87241
UIDefaultsLoader: removed support for deprecated variable prefix '@@'
2020-05-02 16:20:17 +02:00
Karl Tauber
38eb914420
Mnemonics: scale underline; added mnemonic test app
...
FlatTestFrame: Metal Laf is now at F12 so that F10 is unused because F10 is a standard key to move focus to menu bar
2020-05-02 14:38:54 +02:00
Karl Tauber
162215b1cf
UIDefaultsLoader:
...
- support percentage in rgb() and rgba() functions
- support rgba(color,alpha) to add alpha to any color
2020-05-02 11:52:53 +02:00
Karl Tauber
c6883f7a92
ToolTip: use BasicHTML.propertyKey to check whether tooltip contains HTML
2020-05-02 00:41:11 +02:00
Karl Tauber
a48713b7ca
no longer always show mnemonics when a menu bar is active or a popup menu is visible (issue #43 )
2020-05-01 00:22:04 +02:00
Karl Tauber
8f10c2d8bf
Menus: removed now unused *.evenHeight from list of UI defaults
2020-04-30 22:33:42 +02:00
Karl Tauber
5c0de9aa1c
macOS: Fixed NPE if using JMenuBar in JInternalFrame and macOS screen menu bar is enabled (issue #90 )
2020-04-30 13:38:23 +02:00
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
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
44c455419b
IntelliJ Themes: added Java 9 module descriptor to flatlaf-intellij-themes-<version>.jar
2020-04-27 18:25:49 +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
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
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
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
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
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
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
f61f6b6006
Merge pull request #72 from basix86:disabledIcon into branch disabled-icons
...
Improve disabled button rendering #70
2020-04-11 13:57:05 +02:00
Karl Tauber
9eaee8d2c4
Windows: fixed rendering of Unicode characters (issue #81 )
2020-04-09 13:39:37 +02:00
basix86
a8f659f2ac
Pull Request #72 : Improve disabled button rendering #70
2020-04-02 21:25:41 +02:00