Karl Tauber
201581a07c
TabbedPane: support right-to-left if "more tabs" button is used (issue #40 )
2020-10-16 00:24:02 +02:00
Karl Tauber
c0408045ef
TabbedPane: support specifying hiddenTabsNavigation type per tabbedpane via client property (issue #40 )
2020-10-15 10:41:45 +02:00
Karl Tauber
c58f5a6ca7
TabbedPane: replaced forward/backward scrolling arrow buttons with "Show Hidden Tabs" button (issue #40 )
2020-10-15 00:10:07 +02:00
Karl Tauber
ae445c9343
Merge pull request #187 into master
...
TabbedPane wheel scrolling
2020-10-14 22:43:02 +02:00
Karl Tauber
4b7ef6e853
FlatWindowDecorationsTest: added "menu bar visible" checkbox (for testing previous commit)
2020-10-14 13:37:28 +02:00
Karl Tauber
5b0c96cd6d
TabbedPane: avoid scrolling selected tab back into visible area (after wheel scrolling) if the mouse is over a custom tab component that handles mouse events (e.g. a close button)
2020-10-08 23:46:43 +02:00
Karl Tauber
de870c546c
TabbedPane: repeat scrolling as long as arrow buttons are pressed (issue #40 )
2020-10-07 16:05:26 +02:00
Karl Tauber
8db05f47b5
FlatChooserTest: grow file chooser when resizing window
2020-10-04 23:59:28 +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
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
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
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
b66139281d
FlatHtmlTest: fixed labels and added HTML tooltips
2020-09-17 13:50:56 +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
44d196fb8c
Demo: menu item "Options > Window decorations" did exit Demo
...
(regression in commit ee6a1da709 )
2020-09-16 22:52:19 +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
0077708235
UI defaults inspector: install it in FlatTestFrame and FlatThemeFileEditor
2020-09-15 00:32:04 +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
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
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
eafad942e7
Theme Editor: added basic auto-complete for keys
2020-07-08 10:43:24 +02:00
Karl Tauber
f22862b0a4
InternalFrame: use default icon in internal frames (issue #122 )
2020-07-06 14:41:17 +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
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