Commit Graph

1022 Commits

Author SHA1 Message Date
Karl Tauber
ec2fef02ed Demo: if disabling window decoration ("Options > Window decorations") , which changes the main window, also invoke JDialog.setDefaultLookAndFeelDecorated() to disable window decorations for dialogs 2020-10-14 10:50:54 +02:00
Karl Tauber
ebe0d74dbe FlatInspector: make sure that glass pane is not opaque, which is not the case in all Lafs 2020-10-14 10:36:29 +02:00
Karl Tauber
029dc51f8b Testing: updated 3rd party Lafs 2020-10-14 10:30:44 +02:00
Karl Tauber
16242080e0 README.md: screenshots of dark themes updated 2020-10-06 13:37:37 +02:00
Karl Tauber
57655d8859 release 0.43 0.43 2020-10-05 14:36:54 +02:00
Karl Tauber
62ffd57108 Windows: made scaling compatible with Windows OS scaling, which distinguish between "screen scaling" and "text scaling" (issue #175) 2020-10-05 13:14:44 +02:00
Karl Tauber
8db05f47b5 FlatChooserTest: grow file chooser when resizing window 2020-10-04 23:59:28 +02:00
Karl Tauber
c684761eef ComboBox: limit popup width to screen width for very long items (issue #182) 2020-10-04 18:59:54 +02:00
Karl Tauber
0a8ece8c9c no longer use static fields for shared instances of UI delegates because this makes problems in GUI builders that support Laf switching and use more than one FlatLaf theme at the same time 2020-10-04 14:21:00 +02:00
Karl Tauber
01058bde1b UI defaults inspector: fixed key rendering for Nimbus Laf 2020-10-04 14:03:39 +02:00
Karl Tauber
9c2c03cddb Spinner: fixed NullPointerException in case that arrow buttons were removed to create button-less spinner (issue #181) 2020-10-04 13:58:23 +02:00
Karl Tauber
f0778a83a0 CheckBoxMenuItem and RadioButtonMenuItem: improved checkmark background colors of selected menu items that have also an icon 2020-09-25 00:07:25 +02:00
Karl Tauber
b86ae1f122 FileChooser: fixed localizing special Windows folders (e.g. "Documents") and enabled hiding known file extensions (if enabled in Windows Explorer) (issue #178) 2020-09-24 22:27:10 +02:00
Karl Tauber
dfd6831b02 ComboBox: if using own JTextField as editor, default text field border is now removed to avoid duplicate border 2020-09-24 22:17:10 +02:00
Karl Tauber
a4ddc13c1a TabbedPane: added some missing UI defaults 2020-09-24 22:05:07 +02:00
Karl Tauber
fd63a1b7c2 TabbedPane: support hiding separator between tabs and content area via client property 2020-09-24 22:03:39 +02:00
Karl Tauber
d83c3689d0 TabbedPane:
- made tabs separator color lighter in dark themes so that it is easier to recognize the tabbed pane
- added top and bottom tab insets to avoid that large tab icons are painted over active tab underline
2020-09-24 15:18:45 +02:00
Karl Tauber
d52bf9d318 FlatScreenInfo: output warning if screens intersect (issue #177) 2020-09-23 21:44:00 +02:00
Karl Tauber
80f56dec15 travis: added openjdk15 2020-09-23 19:03:53 +02:00
Karl Tauber
358c226b96 update to Gradle 6.6.1
./gradlew wrapper --gradle-version=6.6.1
2020-09-23 18:42:12 +02:00
Karl Tauber
9de9983416 laf.dark flag added to UI defaults 2020-09-20 10:59:50 +02:00
Karl Tauber
c9da4fcaf1 UI defaults: dumps moved out of resources folder to dumps/uidefaults folder 2020-09-18 14:41:15 +02:00
Karl Tauber
932ca6f9d4 FlatDesktopPropertiesDump tool added
developed to find out whether it is possible to detect Windows screen scaling and text scaling factors in Java 8, which seems to be possible by using "win.defaultGUI.font" desktop property

issue #175
2020-09-18 14:24:30 +02:00
Karl Tauber
4487c9985c release 0.42 0.42 2020-09-17 15:51:27 +02:00
Karl Tauber
a53ce99977 PasswordField: support disabling Caps Lock warning icon (issue #172) 2020-09-17 15:34:57 +02:00
Karl Tauber
5444719895 Extras: added screenshots to README.md and instructions for using UI inspectors 2020-09-17 14:20:59 +02:00
Karl Tauber
b66139281d FlatHtmlTest: fixed labels and added HTML tooltips 2020-09-17 13:50:56 +02:00
Karl Tauber
8925c27eb9 ToolTip: avoid that tooltip hides owner component (issue #164) 2020-09-17 13:32:28 +02:00
Karl Tauber
99be346387 FlatWindowDecorationsTest: disable "add/remove/change menu" buttons if shown in dialog, which does not have a menubar 2020-09-17 13:28:02 +02:00
Karl Tauber
81d46ba8ee Demo: show simple dialog for "File > New"
(used to test previous commit)
2020-09-17 13:26:45 +02:00
Karl Tauber
ef4c467b20 fixed occasional wrong positioning of heavy weight popups when using multiple screens with different scaling factors (issue #166)
workaround for https://bugs.openjdk.java.net/browse/JDK-8224608
2020-09-17 11:43:20 +02:00
Karl Tauber
44d196fb8c Demo: menu item "Options > Window decorations" did exit Demo
(regression in commit ee6a1da709)
2020-09-16 22:52:19 +02:00
Karl Tauber
867c4fff58 fixed compiling flatlaf-extras on Java 9+ 2020-09-15 18:06:56 +02:00
Karl Tauber
5643546117 UI defaults inspector:
- add placeholder text to filter field
- fixed menu item text in Demo
2020-09-15 17:56:20 +02:00
Karl Tauber
549832ba96 UI defaults inspector:
- fixed: indicate when a LaF UI value was overridden with UIManager.put(key,value)
- auto-refresh if UIManager.put(key,value) was invoked
2020-09-15 17:30:13 +02:00
Karl Tauber
a8744b2bb4 made disabled text color slightly lighter in dark themes for better readability (issue #174) 2020-09-15 15:47:12 +02:00
Karl Tauber
e292d3444c UI defaults inspector: avoid that restored window bounds are outside of screens 2020-09-15 15:09:03 +02:00
Karl Tauber
ee6a1da709 Demo: exit even if UI defaults inspector window is shown 2020-09-15 13:44:00 +02:00
Karl Tauber
8c15bc746b UI defaults inspector: render values of type Border, GrayFilter, Object[] and int[]; paint icons with light gray background 2020-09-15 13:16:01 +02:00
Karl Tauber
aebb083180 UI defaults inspector: indicate when a LaF UI value was overridden with UIManager.put(key,value) 2020-09-15 12:02:51 +02:00
Karl Tauber
5438549b6d UI defaults inspector: horizontally align rgb() and hsl() in color values 2020-09-15 10:56:28 +02:00
Karl Tauber
0077708235 UI defaults inspector: install it in FlatTestFrame and FlatThemeFileEditor 2020-09-15 00:32:04 +02:00
Karl Tauber
2fd99ec9f3 UI defaults inspector: support sorting 2020-09-15 00:16:57 +02:00
Karl Tauber
0d266c4990 UI defaults inspector: use short format for hex colors if possible; use uppercase hex 2020-09-14 23:53:54 +02:00
Karl Tauber
0982675b5f UI defaults inspector: support filter by value
this is also a preparation to support sort by value
2020-09-14 23:13:44 +02:00
Karl Tauber
3bac5d3c80 UI defaults inspector:
- update table if LaF was switched or F5 key pressed
- added LaF name to window title
- close window with ESC key
2020-09-14 21:18:52 +02:00
Karl Tauber
58338f4848 UI defaults inspector: scroll with Up, Down, PageUp and PageDown keys if filter field is focused 2020-09-14 20:35:41 +02:00
Karl Tauber
9c261d3a3f UI defaults inspector: support filter by key and by value type 2020-09-14 18:17:05 +02:00
Karl Tauber
5441ac6640 UI defaults inspector: added separator between component groups and draw component name with lighter color 2020-09-14 15:18:10 +02:00
Karl Tauber
015b04a29a UI defaults inspector: initial commit with basic functionality 2020-09-14 15:16:16 +02:00