Highlights
Many small improvements, polishing and fixes.
But the real highlight is the version number. 😉
FlatLaf finally leaves 0.x
and enters 1.x
🥇 🎉 😄
Change log
New features and improvements
- Button: Disabled
Button.defaultButtonFollowsFocus
on Windows (as on other
platforms). If you like to keep the old behavior in your application, use:
if(SystemInfo.isWindows) UIManager.put("Button.defaultButtonFollowsFocus",true);
. - ComboBox, Spinner and SplitPaneDivider: Added pressed feedback to arrow buttons.
- Slider: Support per component custom thumb and track colors via
JSlider.setForeground(Color)
andJSlider.setBackground(Color)
. - Slider: Improved thumb hover and pressed colors.
- TextComponent: Clip placeholder text if it does not fit into visible area. (PR #229)
- macOS: Improved font rendering on macOS when using JetBrains Runtime. (PRs #237, #239 and #241)
- Extras: UI defaults inspector:
- Support embedding UI defaults inspector panel into any window. See
FlatUIDefaultsInspector.createInspectorPanel()
. - Copy selected keys and values into clipboard via context menu.
- Support wildcard matching in filter (
*
matches any number of characters,
?
matches a single character,^
beginning of line,$
end of line).
- Support embedding UI defaults inspector panel into any window. See
- IntelliJ Themes:
- Added hover and pressed feedback to Button, CheckBox, RadioButton and
ToggleButton. (issue #176) - Added "Material Theme UI Lite / Moonlight" theme.
- Updated "Dracula", "Gradianto" and "Material Theme UI Lite" themes.
- Added hover and pressed feedback to Button, CheckBox, RadioButton and
Fixed bugs
- Button and ToggleButton: Threat Unicode surrogate character pair as single
character and make button square. (issue #234) - Button and ToggleButton: ToolBar buttons now respect explicitly set background
color. If no background color is set, then the button background is not
painted anymore. (issue #191) - ToggleButton: Tab style buttons (client property
JButton.buttonType
is
tab
) now respect explicitly set background color. - TabbedPane: Fixed
IndexOutOfBoundsException
when using tooltip text on close
buttons and closing last/rightmost tab. (issue #235) - TabbedPane: Fixed scrolling tabs with touchpads and high-resolution mouse wheels.
- Extras: Added missing export of package
com.formdev.flatlaf.extras.components
to Java 9 module descriptor. - JIDE Common Layer:
- Invoke
LookAndFeelFactory.installJideExtension()
when using FlatLaf UI
delegates. (issue #230) - RangeSlider: Fixed slider focused colors in IntelliJ themes.
- Invoke
- IntelliJ Themes:
- Fixed menu item check colors.
- Fixed
MenuItem.underlineSelectionColor
. - Fixed List, Tree and Table
selectionInactiveForeground
in light Arc themes. - Fixed List and Table background colors in Material UI Lite themes.
- Fixed menu accelerator colors in Monocai theme. (issue #243)