Karl Tauber
21baaf810c
CHANGELOG.md: added changelog for merged PRs
2022-11-26 17:11:35 +01:00
Karl Tauber
b736502c27
Tree: hide default closed/opened/leaf icons by default
2022-11-14 14:59:47 +01:00
Karl Tauber
ef21efecf5
Tree:
...
- Fixed missing tree lines (if enabled) for wide-selected rows. (issue #598 )
- Fixed scaling of tree lines and fixed alignment to expand/collapse arrows.
- Removed support for dashed tree lines. `Tree.lineTypeDashed` is now ignored.
2022-11-01 10:12:49 +01:00
Karl Tauber
2bfbc9dc12
Merge PR #577 : Rounded outlined icons
2022-10-30 10:39:09 +01:00
Karl Tauber
c3a1b45546
Merge PR #548 : ComboBox: support rounded selection
2022-10-30 10:28:48 +01:00
Karl Tauber
b72508f920
Merge PR #547 : List: Support rounded selection
...
# Conflicts:
# flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatComponents2Test.java
2022-10-30 10:24:16 +01:00
Karl Tauber
22bb80218d
Merge PR #546 : Tree: rounded selection
2022-10-30 10:16:07 +01:00
Karl Tauber
0c5016fe89
Merge PR #536 : Menus: rounded selection
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuBarUI.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuUI.java
# flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties
# flatlaf-theme-editor/src/main/resources/com/formdev/flatlaf/themeeditor/FlatLafUIKeys.txt
2022-10-30 09:55:09 +01:00
Karl Tauber
b24e2db59e
FileChooser: fixed layout of (optional) accessory component and fixed too large right margin (issue #604 ; regression since implementing PR #522 in FlatLaf 2.3)
2022-10-21 13:12:52 +02:00
Karl Tauber
069a7c809c
release 2.6
2022-10-18 11:11:24 +02:00
Karl Tauber
9f39b269bb
CHANGELOG.md: moved PR #595 from "Fixed bugs" to "New features and improvements"
2022-10-17 18:15:19 +02:00
Karl Tauber
36c405c708
fixed NPE in FlatUIUtils.isCellEditor() (issue #601 )
2022-10-17 18:09:12 +02:00
Karl Tauber
bc7c68ebe4
MenuBar: fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item does not have a parent (issue #600 ; regression since implementing #589 in FlatLaf 2.5; commit f6c5db07f2)
2022-10-17 17:08:12 +02:00
Karl Tauber
6c502ad4c5
2.6-SNAPSHOT
2022-10-17 16:31:54 +02:00
Karl Tauber
8e42b19934
Native libraries: support loading via System.loadLibrary()
...
(for pre-extracted native libs in NetBeans)
2022-10-06 10:49:55 +02:00
Karl Tauber
1a456d5d68
ScaledImageIcon: do not throw exceptions if image has invalid size (e.g. not found); instead paint a red rectangle (similar to FlatSVGIcon)
2022-10-01 20:12:32 +02:00
Karl Tauber
e83c26a76a
- ScrollBar: show "pressed" feedback on track/thumb only for left mouse button; if absolute positioning is enabled (the default), then also for middle mouse button
...
- Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: show "pressed" feedback only for left mouse button
2022-09-30 19:55:42 +02:00
Karl Tauber
6e7c2a616b
updated CHANGELOG.md for PR #595 and added tab context menu test
2022-09-30 15:33:37 +02:00
Karl Tauber
92c110548a
ComboBox and Spinner: no longer use preferred height for arrow button width, because preferred height may be zero, which would hide arrow button (see https://github.com/scijava/scijava-ui-swing/issues/77#issuecomment-1261452712 )
...
- arrow button width depends on combobox/spinner height
- default/max button width is height of a raw combobox/spinner (without insets)
- min button width is 3/4 of default button width
2022-09-30 12:30:46 +02:00
Karl Tauber
4f5a3e8d8b
release 2.5
2022-09-27 16:11:48 +02:00
Karl Tauber
c228362c01
Window decorations: added UI value TitlePane.font to customize window title font (issue #589 )
2022-09-23 11:57:38 +02:00
Karl Tauber
f6c5db07f2
MenuBar: top level menus now use MenuBar.font instead of Menu.font (issue #589 )
2022-09-23 00:31:14 +02:00
Karl Tauber
78e7839213
Window decorations: added option to show window icon only in frames, but not in dialogs (issue #589 )
2022-09-23 00:13:01 +02:00
Karl Tauber
0e523f1193
SwingX: fixed missing highlighting of "today" in JXMonthView and JXDatePicker
2022-09-12 13:29:53 +02:00
Karl Tauber
596ff3382d
PasswordField: reveal button is now hidden (and turned off) if password field is disabled (issue #501 )
2022-09-11 17:05:48 +02:00
Karl Tauber
c3d214aa23
Merge PR #579 : Linux window decorations: native move window and system menu
2022-09-11 12:11:06 +02:00
Karl Tauber
d301f6e104
MenuBar: support different menu selection style UI defaults for MenuBar and MenuItem (issue #587 )
2022-09-11 12:00:38 +02:00
Karl Tauber
7858e42e37
fixed AWT components on macOS (issue #583 )
...
- fixed missing focus indicator
- fixed round corners
- fixed java.awt.Button background
- fixed java.awt.Choice background
- fixed java.awt.Checkbox hover
2022-09-05 14:47:17 +02:00
Karl Tauber
30132aa6b0
added system property flatlaf.updateUIOnSystemFontChange to allow disabling automatic UI update when system font changes (issue #580 )
2022-08-24 19:32:38 +02:00
Karl Tauber
fb4576fc1b
Linux: use X11 window manager events to move window and to show window menu (right-click on window title bar), if custom window decorations are enabled (issue #482 )
2022-08-20 21:09:49 +02:00
Karl Tauber
16f3f9e6ff
Window decorations: added client property to mark components in embedded menu bar as "caption" (issue #569 )
2022-08-20 19:42:38 +02:00
Karl Tauber
2dd75c4a64
fixed possible exception in FlatUIUtils.resetRenderingHints() (issue #575 )
2022-08-12 15:41:55 +02:00
Karl Tauber
d2f46cd0b5
TabbedPane: option to disable tab run rotation in wrap layout (issue #574 )
2022-08-12 15:32:39 +02:00
Karl Tauber
94f9e4a1be
fixed missing UI value MenuItem.acceleratorDelimiter on macOS (was null, is now an empty string)
2022-08-03 13:16:43 +02:00
Karl Tauber
f842530537
release 2.4
2022-07-13 23:43:02 +02:00
Karl Tauber
63077bbb19
Merge PR #565 : Window title bar usability improvements (Windows 10/11 only)
2022-07-13 23:28:38 +02:00
Karl Tauber
10a965d765
Window decorations: option to show window icon beside window title, if menu bar is embedded or title is centered
2022-07-13 17:58:25 +02:00
Karl Tauber
8b5a738e65
Menus: avoid that SubMenuUsabilityHelper can be installed multiple times, which can freeze the application caused pushing multiple event queues and popping wrong event queue first
...
(e.g. NetBeans Form Editor invokes `FlatLaf.initialize()` but not `uninitialize()`)
(PR #490 ; https://github.com/apache/netbeans/issues/4231 )
2022-07-12 10:33:53 +02:00
Karl Tauber
ef151c68f4
Window decorations:
...
- improved title bar usability by using larger gaps and minimum sizes
- added minimum gap between embedded menu bar and window title
- fixed oscillating title while resizing window width
- fixed lost right-to-left component orientation in title bar when switching Laf
2022-07-11 17:28:30 +02:00
Karl Tauber
52feaac92a
Window decorations: no longer reduce height of window title bar if it has an embedded menu bar and is maximized
2022-07-10 14:03:45 +02:00
Karl Tauber
42764550e6
Window decorations: improved window title bar layout for small window widths:
...
- width of iconify/maximize/close buttons is reduced to give more space to embedded menu bar and title
- window title now has a minimum width to always allow moving window
2022-07-09 19:54:29 +02:00
Karl Tauber
6ee737b314
Window decorations: small area at top of embedded menu bar to resize window
2022-07-09 10:30:33 +02:00
Karl Tauber
9977bcb468
Window decorations: do not center window title if embedded menu bar is empty or has no menus at left side, but some components at right side (issue #558 )
2022-07-09 00:04:51 +02:00
Karl Tauber
8b10d3ba5a
Native window decorations: fixed missing top window border in dark themes if window drop shadows are disabled in system settings (issue #554 )
2022-07-02 23:26:34 +02:00
Karl Tauber
a8b15c6a12
MenuItem: fixed sometimes wrapped HTML text on HiDPI screens on Windows
2022-07-02 22:38:37 +02:00
Karl Tauber
23bac7e5fd
Native window decorations: do not use window decorations if system property sun.java2d.opengl is true on Windows 10 (issue #540 )
2022-07-02 00:29:29 +02:00
Karl Tauber
b82ee2ef61
Typography: no longer use Consolas or Courier New as monospaced font on Windows because they have bad vertically placement
2022-07-02 00:25:07 +02:00
Karl Tauber
b7761f4b71
HiDPIUtils: support rotated graphics (issue #557 )
2022-07-01 15:34:04 +02:00
Karl Tauber
73b6ca3762
ComboBox: fixed vertical alignment of text in popup list with text in combo box in IntelliJ/Darcula themes
2022-06-04 20:15:31 +02:00
Karl Tauber
6c18431a30
TableHeader: fixed exception when changing table structure (e.g. removing column) from a table header popup menu action (issue #532 )
2022-05-31 18:56:06 +02:00