Karl Tauber
a117243f14
FileChooser: use large system icons in shortcuts panel also in Java 8 to 16
2022-04-26 22:50:34 +02:00
Karl Tauber
22411060be
FileChooser: improve layout for shortcuts panel (give it full height)
2022-04-25 23:49:15 +02:00
Karl Tauber
045263ae58
FileChooser: added (optional) shortcuts panel (issue #100 )
2022-04-25 23:06:10 +02:00
Karl Tauber
bd5512c121
SplitPane: allow limiting one-touch expanding to a single side (issue #355 )
2022-04-23 17:13:32 +02:00
Karl Tauber
9afce83a02
SplitPane: added missing BasicSplitPaneDivider properties to javadoc
2022-04-23 16:19:04 +02:00
Karl Tauber
07a8bd9486
ComboBox: added missing BasicComboPopup properties to javadoc
2022-04-22 10:55:25 +02:00
Karl Tauber
b295809432
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2022-04-21 22:02:09 +02:00
Karl Tauber
af3e280d74
Table: slightly changed grid colors to make grid better recognizable (issue #514 )
2022-04-19 23:00:01 +02:00
Karl Tauber
b57e4c0565
TabbedPane: selected tab underline color now changes depending on whether the focus is within the tab content (issue #398 )
2022-04-19 22:19:47 +02:00
Karl Tauber
aca9931560
IntelliJ Themes: TabbedPane: use DefaultTabs.underlinedTabBackground and DefaultTabs.underlinedTabForeground from JSON themes for selected tab background/foreground
2022-04-19 16:50:27 +02:00
Karl Tauber
d09e166e4a
SplitPane: fixed StackOverflowError caused by layout loop that may occur under special circumstances (issue #513 )
2022-04-12 13:47:04 +02:00
Karl Tauber
68a7a60ff2
FileChooser: enabled full row selection for details view to fix alternate row coloring (issue #512 )
2022-04-12 13:28:39 +02:00
Karl Tauber
081fd43d98
IntelliJ Themes: Component.accentColor UI property now has useful theme specific values (issue #507 )
2022-04-07 18:07:09 +02:00
Karl Tauber
ef2eedfc7c
Button: fixed icon layout and preferred width of default buttons that use bold font (issue #506 )
2022-04-06 23:36:58 +02:00
Karl Tauber
0dba9265be
ToolBar: fixed endless loop in focus navigation that may occur under special circumstances (issue #505 )
2022-04-06 18:53:45 +02:00
Karl Tauber
301aae9b8e
NativeLibrary: use System.mapLibraryName() instead of own implementation
2022-03-19 11:07:46 +01:00
Karl Tauber
c63f4e9662
Window decorations on Linux: limit window resizing/moving to left mouse button (issue #482 )
2022-03-18 00:05:15 +01:00
Karl Tauber
47508dc6ac
Native window decorations: updated DLLs (issue #502 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/2000978687
2022-03-17 22:48:01 +01:00
Karl Tauber
0bf87b753d
TabbedPane: disable all items in "Show Hidden Tabs" popup menu if tabbed pane is disabled
2022-03-17 12:42:49 +01:00
Karl Tauber
53f2730064
TextArea, TextPane and EditorPane: no longer select all text when component is focused for the first time (issue #498 ; regression in FlatLaf 2.0)
2022-03-17 12:21:06 +01:00
Karl Tauber
fef6ae7ff7
Menus: scroll large menus using mouse wheel or up/down arrows (issue #225 )
2022-03-14 11:41:05 +01:00
Karl Tauber
2ae9bb381d
Menus: fixed IllegalComponentStateException: component must be showing on the screen to determine its location when submenu is empty (PR #490 ; issue #247 )
2022-03-14 00:23:53 +01:00
Karl Tauber
53bde84710
fixed compiler warning
2022-03-13 19:17:41 +01:00
Karl Tauber
d006ac27ff
Merge PR #490 : Menus: improved usability of submenus
2022-03-13 19:07:59 +01:00
Karl Tauber
c478d28b71
PasswordField: fixed reveal button appearance in IntelliJ themes (issue #494 )
2022-03-13 18:39:12 +01:00
Karl Tauber
99f7b9ad84
ScrollBar:
...
- added `ScrollBar.minimumButtonSize` to specify minimum scroll arrow button size
- center and scale arrows in scroll up/down buttons
(issue #493 )
2022-03-13 10:58:27 +01:00
Karl Tauber
d8f3682dc0
Menus: improved usability of submenus (issue #247 )
2022-02-28 14:45:57 +01:00
Karl Tauber
1fec7ba553
Linux: support using custom window decorations (issue #482 )
2022-02-26 23:07:16 +01:00
Karl Tauber
418f55f34e
Window decorations: fixed window resizing on Linux (issue #482 )
2022-02-26 14:00:16 +01:00
Karl Tauber
05d795b2ae
Window decorations: use special fix for maximized bounds only on Windows (issue #469 )
2022-02-26 13:33:55 +01:00
Karl Tauber
a365b750d9
core: minor code cleanup:
...
- add final where possible
- removed "public" from interface methods
- simplified conditional expressions
- removed unnecessary unboxing
- removed unused assignements
- removed redundant casts
(used IntelliJ IDEA 2021.3 inspections)
2022-02-25 21:49:15 +01:00
Karl Tauber
0aecfb565f
IntelliJ Themes: removed duplicate key and trailing spaces
2022-02-25 21:12:48 +01:00
Karl Tauber
0cf4edd9e5
core: fixed typos/grammar in comments
2022-02-25 20:40:37 +01:00
Karl Tauber
1a131d5206
Merge PR #484 : Fix NPE when painting icon on OS X top menu bar
2022-02-25 15:58:41 +01:00
Karl Tauber
016e515ae2
moved TestFlatIconNullComponent to other package and fixed file name (issue #483 )
2022-02-25 15:52:40 +01:00
Karl Tauber
49eb0b0201
Native window decorations: updated DLLs (issue #477 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/1866639721
2022-02-18 22:44:00 +01:00
Nicolas Roduit
c7fa475128
NPE when painting icon on OS X top menu bar #483
2022-02-18 18:30:24 +01:00
Karl Tauber
4174b065f3
repaint component when setting client property JComponent.outline (issue #480 )
2022-02-16 23:53:21 +01:00
Karl Tauber
751c0e16e9
ToolTip: fixed wrong tooltip location if component overrides JComponent.getToolTipLocation() and wants place tooltip under mouse location (issue #468 )
2022-01-24 23:24:39 +01:00
Karl Tauber
936de60700
fixed memory leak in Panel, Separator and ToolBarSeparator (issue #471 )
2022-01-24 18:28:38 +01:00
Karl Tauber
e8ee037d09
RootPane: uninstall background, foreground and font because not all Lafs set them
2022-01-10 11:58:49 +01:00
Karl Tauber
e768791eba
Native window decorations: updated hover and pressed colors of iconify/maximize/close buttons for Windows 11 style
2022-01-09 12:59:08 +01:00
Karl Tauber
a1395a5490
TextField: leading/trailing components (PR #386 ):
...
- set cursor only on button and toolbar
- do not replace cursor on if already set (issue #461 )
- updated client properties javadoc
2022-01-06 15:17:20 +01:00
Karl Tauber
6beda53238
Button: if boolbar button is in leading/trailing component of a text field, increase toolbar button corner arc to match text field corner arc (issue #451 )
2022-01-05 18:46:00 +01:00
Karl Tauber
941441d7e1
TextField: clear button has now component name TextField.clearButton
...
PasswordField: reveals button has now component name `PasswordField.revealButton` and additional style class `revealButton` (issue #173 )
SwingUtils: added `getComponentByName()` for easy getting clear or reveal buttons
2022-01-05 18:32:05 +01:00
Karl Tauber
831b3d851a
ColorFunctions: javadoc added; do not mix colors if they are equal
2022-01-03 19:04:28 +01:00
Karl Tauber
5c4706cbc9
Merge remote-tracking branch 'origin/main' into main
2022-01-03 17:05:37 +01:00
Karl Tauber
db66a6c4f0
Unit tests: re-enable testing scaled UI
...
avoid using UI_SCALE_ENABLED = false because if this test is executed first, class UIScale does not register listeners to UIManager, which prevents updating user scale factor on font changes and testing scaled UI fails
2022-01-03 16:52:43 +01:00
Karl Tauber
0517e4fc02
Native window decorations: updated maximize and restore icons for Windows 11 style
...
(requires Java 8u321, 11.0.14, 17.0.2 or 18+)
2021-12-31 17:57:02 +01:00
Karl Tauber
dd7fa4a87d
Slider: fixed/improved focused indicator color when changing accent color (PR #375 )
2021-12-31 15:33:27 +01:00