Karl Tauber
ee6a1da709
Demo: exit even if UI defaults inspector window is shown
2020-09-15 13:44:00 +02:00
Karl Tauber
0077708235
UI defaults inspector: install it in FlatTestFrame and FlatThemeFileEditor
2020-09-15 00:32:04 +02:00
Karl Tauber
12ec0abf54
UI defaults: moved some common properties from FlatLightLaf.properties and FlatDarkLaf.properties to FlatLaf.properties
2020-09-12 22:00:17 +02:00
Karl Tauber
c8d461cdee
UI defaults: moved "globals" from FlatLightLaf.properties and FlatDarkLaf.properties to FlatLaf.properties
2020-09-12 20:53:23 +02:00
Karl Tauber
faecffeadd
TextComponents: fixed text color of disabled text components in dark themes (issue #174 )
2020-09-12 18:45:40 +02:00
Karl Tauber
ecb94bac6d
use short color format #RGB (instead of #RRGGBB) where possible
2020-09-11 21:24:00 +02:00
Karl Tauber
7ebeacf16e
UIDefaultsDump: dump FlatTestLaf
2020-09-11 21:08:07 +02:00
Karl Tauber
dcce14b122
FlatScreenInfo tool added
2020-09-03 15:55:12 +02:00
Karl Tauber
a2ac24ac74
Demo: "SplitPane & Tabs" tab improved
2020-09-03 15:09:28 +02:00
Karl Tauber
c78c653b0a
FlatComponents2Test: moved table checkboxes into tableOptionsPanel
2020-09-03 11:26:16 +02:00
Karl Tauber
e0b3663239
FlatComponents2Test: support testing large amount of list/tree/table rows
2020-09-03 11:12:00 +02:00
Karl Tauber
3cc9c98040
Demo:
...
- "Data components" tab: increase component height if frame is made larger
- "SplitPane & Tabs" tab: increased some gaps and renamed TabbedPane option checkboxes
- "Option Pane" and "Extras" tabs: minor layout improvements
2020-09-02 19:08:24 +02:00
Karl Tauber
b208017117
added API to register packages or folders where FlatLaf searches for application specific properties files with custom UI defaults
2020-08-26 12:07:00 +02:00
Karl Tauber
a1dab94a61
TextArea: update background color property if enabled or editable state changes in the same way as Swing does it for all other text components (issue #147 )
2020-08-25 19:15:53 +02:00
Karl Tauber
e55b2afd60
Button: show "selected" state (issue #161 )
2020-08-25 16:41:40 +02:00
Karl Tauber
2975ed2eae
FlatComponents2Test: added checkboxes to enable/configure table grid lines
2020-08-07 22:46:26 +02:00
Karl Tauber
56ebd26361
Window decorations: make embedded menu bar make smaller if horizontal space is rare to avoid that embedded menu bar overlaps buttons
2020-08-06 23:10:54 +02:00
Karl Tauber
b0426b81a7
Window decorations: embedded menu bar did not always respond to mouse events after adding menus and when running in JetBrains Runtime (issue #151 )
2020-08-06 11:45:47 +02:00
Karl Tauber
4eb4ddf5d8
FlatTestFrame: do not use sun.java2d.uiScale for user scale factor
2020-08-02 11:43:46 +02:00
Karl Tauber
2640ab2e8b
ComboBox: changed maximum row count of popup list to 15 (was 20) (issue #124 )
2020-07-30 12:11:15 +02:00
Karl Tauber
e29436da04
Button: support specifying button border width
2020-07-28 23:51:02 +02:00
Karl Tauber
7b35325f9a
Flat IntelliJ theme: use color functions for selected checkbox/radio button hover/pressed background
2020-07-28 22:14:08 +02:00
Karl Tauber
e3cda9905a
Table: allow disabling swapped behavior of Home/End and Ctrl+Home/End with Table.consistentHomeEndKeyBehavior=false (issue #95 )
2020-07-27 17:55:31 +02:00
Karl Tauber
a8423f7741
ScrollBar: increased minimum thumb size on macOS and Linux to 18px and on Windows to 10px; also include ScrollBar.thumbInsets in minimum size calculation (issue #131 )
2020-07-27 14:41:01 +02:00
Karl Tauber
5a9e620c17
Animator: added constructor that allows passing a runnable that is invoked at the end of the animation, which allows using lambdas in most cases
2020-07-25 10:53:06 +02:00
Karl Tauber
5166d4bb0f
SystemInfo:
...
- renamed public fields from upper-case to mixed-case
- added public fields for osVersion and javaVersion
- fixed Mac -> MacOS
- added orLater to Mojave
2020-07-22 22:01:19 +02:00
Karl Tauber
2ffd5437a9
animated Laf changing added to flatlaf-extras, used in Demo
2020-07-22 12:56:42 +02:00
Karl Tauber
008ecabd21
animator and cubic bezier easing classes added (for future animations) (issue #66 )
2020-07-21 17:53:53 +02:00
Karl Tauber
82294b68eb
CheckBox: fixed colors in light IntelliJ themes (issue #126 )
2020-07-10 15:35:02 +02:00
Karl Tauber
eafad942e7
Theme Editor: added basic auto-complete for keys
2020-07-08 10:43:24 +02:00
Karl Tauber
283ba83cef
Window decorations: use derived color for RootPane.inactiveBorderColor in FlatLightLaf.properties to be consistent with FlatDarkLaf.properties
2020-07-06 15:47:44 +02:00
Karl Tauber
f22862b0a4
InternalFrame: use default icon in internal frames (issue #122 )
2020-07-06 14:41:17 +02:00
Karl Tauber
9e731cb67a
Tree: fixed cell editor border
2020-07-06 12:01:53 +02:00
Karl Tauber
7f911b61a2
Window decorations: no longer honor minimum size of frames on resizing window, but still do for dialogs
2020-07-06 11:30:49 +02:00
Karl Tauber
a308114b2f
Window decorations:
...
- use window border color from UI defaults
- support "active" and "inactive" window border colors
- better window border colors for dark themes
2020-07-01 10:37:08 +02:00
Karl Tauber
0d91116e62
Merge branch 'origin/custom-window-decorations' into master
...
# Conflicts:
# flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java
2020-06-29 15:59:38 +02:00
Karl Tauber
4af2c31dab
Eclipse code formatter: insert space in casts
2020-06-27 22:26:49 +02:00
Karl Tauber
8b4786ad18
added class FlatSystemProperties to define/document own system properties used in FlatLaf
2020-06-27 17:57:59 +02:00
Karl Tauber
293b76f04b
Window decorations: FlatWindowDecorationsTest: added "undecorated" checkbox
2020-06-25 17:55:42 +02:00
Karl Tauber
a1b0c0bbd4
ComboBox: increase maximum row count of popup list to 20 (was 8)
2020-06-25 17:00:10 +02:00
Karl Tauber
46d3204bc3
MenuBar:
...
- use derived colors for menu bar hover
- use derived colors for menu item selected background
- top-level JMenu now uses foreground color from parent JMenuBar
This allows changing menu bar background to dark with:
UIManager.put( "MenuBar.background", Color.DARK_GRAY );
UIManager.put( "MenuBar.foreground", Color.WHITE );
or
menuBar.setBackground( Color.DARK_GRAY );
menuBar.setForeground( Color.WHITE );
(issue #117 )
2020-06-25 11:36:36 +02:00
Karl Tauber
c25ff57b61
Button, CheckBox, RadioButton and ToggleButton: do not paint focus indicator if AbstractButton.isFocusPainted() returns false
2020-06-24 16:45:41 +02:00
Karl Tauber
7c9bbe6aef
Merge branch 'master' into branch 'custom-window-decorations'
2020-06-23 11:11:14 +02:00
Karl Tauber
27eeb0a636
Demo: use uppercase leading characters
2020-06-22 23:35:56 +02:00
Karl Tauber
cf436962f8
fixed/improved vertical position of HTML text when scaled on HiDPI screens on Windows
2020-06-22 23:31:01 +02:00
Karl Tauber
7fb7a1ac85
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 8
2020-06-22 21:05:11 +02:00
Karl Tauber
15a714faed
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 9 or later
2020-06-22 13:45:56 +02:00
Karl Tauber
40321856f2
Testing: updated 3rd party Lafs
2020-06-19 19:49:26 +02:00
Karl Tauber
262ae7865b
ComboBox and Spinner: support changing arrow button style (issue #114 )
2020-06-19 18:12:23 +02:00
Karl Tauber
84cc86bef7
CheckBox and RadioButton: support changing selected icon style from outline to filled
...
renamed CheckBox.icon.focusedColor to CheckBox.icon.focusColor
2020-06-19 15:36:49 +02:00