Karl Tauber
a9ea9daec3
FileChooser: catch NPE in Java 21 when getting icon for .exe files that use default Windows exe icon (see https://bugs.openjdk.org/browse/JDK-8320692 )
2024-01-08 20:29:20 +01:00
Karl Tauber
45bdd40dce
Viewport: use method handle, instead of reflection, to get view UI faster
2024-01-08 20:12:26 +01:00
Karl Tauber
a2bca88eec
removed support for JetBrains custom decorations
2024-01-08 16:22:20 +01:00
Karl Tauber
c0dd02ee13
TabbedPane: paint rounded tab area background for rounded cards (issue #717 )
2024-01-08 13:22:59 +01:00
Karl Tauber
97495a6093
TabbedPane: avoid "jumping" tab area when switching L&F or when mouse wheel scrolling to last tab (regression in commit 4ad45088c4)
2023-12-31 12:56:43 +01:00
Karl Tauber
4ad45088c4
TabbedPane: fixed "endless" layouting and repainting when using nested tabbed panes (top and bottom tab placement) and RSyntaxTextArea (with enabled line-wrapping) as tab content (see https://github.com/skylot/jadx/issues/2030 )
...
instead of using `BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer()`, now layouting all components ourself and avoid double moving/resizing of some components
2023-12-30 12:56:58 +01:00
Karl Tauber
beb2deee52
TabbedPane: further reduced duplicate code in nested classes FlatTabbedPaneLayout and FlatTabbedPaneScrollLayout
2023-12-23 14:06:47 +01:00
Karl Tauber
9c69043b2c
TabbedPane: reduced duplicate code in nested classes FlatTabbedPaneLayout and FlatTabbedPaneScrollLayout
2023-12-23 00:28:44 +01:00
Karl Tauber
4df34b3f9d
TableHeader: no longer temporary replace header cell renderer while painting (issue https://github.com/apache/netbeans/issues/6835 )
2023-12-22 14:08:49 +01:00
Karl Tauber
ee01756188
TabbedPane:
...
- avoid unnecessary repainting whole tabbed pane content area when layouting leading/trailing components
- avoid unnecessary repainting of selected tab on temporary changes
2023-12-21 18:59:11 +01:00
Karl Tauber
0386aaa18b
Merge PR #758 : TabbedPane: support rotated/vertical tabs
2023-12-21 17:41:49 +01:00
Karl Tauber
92c4230cde
Merge PR #713 : Scrollpane rounded border
2023-12-21 17:40:00 +01:00
Karl Tauber
26165999e0
Table: fixed background of boolean columns when using alternating row colors (issue #780 )
2023-12-21 16:58:49 +01:00
Karl Tauber
38b2641078
NativeLibrary: in development environment, load native library from 'src' folder
2023-12-14 15:29:02 +01:00
Karl Tauber
46de81c1c9
macOS native:
...
- removed `FlatNativeMacLibrary.getWindowPtr()` because it is too dangerous to use `windowPtr` (which is `NSWindow*`) in Java (using invalid window pointer would crash app)
- made `getNSWindow()` 20x faster
- catch exceptions in `getNSWindow()`
- digitally signed dylibs
2023-12-14 14:39:26 +01:00
Karl Tauber
9bf4da7acf
Native macOS libraries updated for PR #772
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/7151969281
2023-12-09 17:04:03 +01:00
Karl Tauber
6f32236fb7
macOS: native rounded borders for popups (issue #715 )
2023-12-09 16:12:35 +01:00
Karl Tauber
8cc2925fd0
FlatPopupFactory: reordered some methods (nothing else changed)
2023-12-08 17:53:51 +01:00
Karl Tauber
2b87d3c4db
Native window libraries: updated Windows DLLs for commit 7f6f366744
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/7132082543
locally signed Windows DLLs with FormDev Software code signing certificate
2023-12-07 19:02:43 +01:00
Karl Tauber
7f6f366744
flatlaf-natives-windows: support DWM attributes DWMWA_USE_IMMERSIVE_DARK_MODE, DWMWA_CAPTION_COLOR and DWMWA_TEXT_COLOR (all unused in FlatLaf core)
2023-12-07 18:53:45 +01:00
Karl Tauber
b1fdbde5cd
ScrollPane: allow specifying scroll pane border arc for multi-line text components, lists, tables and trees
2023-11-25 23:29:39 +01:00
Karl Tauber
417f0f5f1c
fixed broken rendering after resizing window to minimum size and then increasing size again (issue #767 )
2023-11-25 19:14:39 +01:00
Karl Tauber
7d0bdf3b9e
OptionPane: fixed styling custom panel background in JOptionPane (issue #761 )
2023-11-14 10:38:28 +01:00
Karl Tauber
2ef5270095
TabbedPane: support rotated/vertical tabs (issue #633 )
2023-11-04 19:55:01 +01:00
Karl Tauber
8d8b9f3e98
macOS themes: fixed ToolBar.hoverButtonGroupArc
2023-11-01 14:52:17 +01:00
Karl Tauber
69899ec29f
ToolBar: added styling properties separatorWidth and separatorColor
2023-11-01 12:55:06 +01:00
Karl Tauber
808f5a6381
Button and ToggleButton: selected buttons did not use explicitly set foreground color (issue #756 )
2023-10-31 16:14:48 +01:00
Karl Tauber
34bd2d781c
Table: switching theme looses table grid and intercell spacing (issues #733 and #750 )
2023-10-22 17:55:10 +02:00
Karl Tauber
a997820bb6
Merge PR #754 : Fixing NPE when showing a popup without an invoker on Windows 10
2023-10-21 23:52:02 +02:00
Eduwardo Horibe
b8fabd59c0
Fixing NPE when showing a popup without an invoker on Windows 10
2023-10-21 15:26:55 -03:00
Karl Tauber
97d290795e
release 3.2.4
2023-10-21 18:23:17 +02:00
Karl Tauber
2a237ff5fc
Popup: fixed potential NPE in (unusual) case that the popup invoker is null (only on Linux with Wayland and Java 21; regression in 3.2.3) (issue #752 )
2023-10-21 18:21:59 +02:00
Karl Tauber
13a418f74e
release 3.2.3
2023-10-21 17:11:32 +02:00
Karl Tauber
5c56dbfed6
Popup: popups that request focus were not shown on Linux with Wayland and Java 21 (issue #752 )
2023-10-21 17:04:22 +02:00
Karl Tauber
0d2f37e1da
release 3.2.2
2023-10-15 18:12:11 +02:00
Karl Tauber
0494c2161c
FileChooser: avoid unnecessary logging of InaccessibleObjectException when running in Java 16 (issue #741 )
2023-10-15 18:00:33 +02:00
Karl Tauber
9ad8fb38e8
update to Gradle 8.4
2023-10-15 16:34:42 +02:00
Karl Tauber
1dbe968952
TabbedPane: fixed NPE when using focusable component as tab component and switching theme (issue #745 )
2023-10-15 11:43:58 +02:00
Karl Tauber
460b6492cb
Button: fixed painting icon and text at wrong location when using HTML text, left/right vertical alignment and running in Java 19+ (issue #746 )
2023-10-14 19:16:23 +02:00
Karl Tauber
5553425a1a
CheckBox and RadioButton: fixed cut off right side when border is removed and horizontal alignment is set to right (issue #734 )
2023-09-28 16:22:52 +02:00
Karl Tauber
b6207bafde
release 3.2.1
2023-09-04 13:22:50 +02:00
Karl Tauber
9efb9761c6
MultiResolutionImageSupport optimizations:
...
- ProducerMultiResolutionImage: avoid creation of base image to get image width and height, because if screen is scaled then the base image would be never painted, but consumes memory and takes time to create it
- MappedMultiResolutionImage: delegate getting width/height/source/property to original image, to defer/avoid creation of mapped image
2023-09-04 13:08:21 +02:00
Karl Tauber
03f9115fbf
MultiResolutionImageSupport: fixed memory leak in create(int,Dimension[],Function<Dimension,Image>) (issue #726 )
2023-09-04 12:22:40 +02:00
Karl Tauber
a2859cedb5
Popop: fixed drop shadow if popup overlaps a heavyweight component (Windows 10 only; issue #626 )
2023-09-02 12:48:46 +02:00
Karl Tauber
0c604b1023
ScrollPane: increase viewport width for rounded border to remove/reduce gap between view and vertical scrollbar
2023-08-27 18:14:03 +02:00
Karl Tauber
cdee0594f8
TextField: fixed placeholder text painting, which did not respect horizontal alignment property of JTextField (issue #721 )
2023-08-27 16:30:16 +02:00
Karl Tauber
581c64b601
FileChooser: fixed occasional NPE in FlatShortcutsPanel on Windows (issue #718 )
2023-08-23 19:40:59 +02:00
Karl Tauber
40418607e5
ScrollPane: fixed lost styling on ScrollPane border if using Table as view component
2023-08-13 23:23:03 +02:00
Karl Tauber
5436ea88d8
ScrollPane: improved/fixed calculation of left/right padding for rounded border
2023-08-13 17:01:56 +02:00
Karl Tauber
7bec5ec6dc
ScrollPane: support rounded border
2023-08-13 14:01:09 +02:00