Karl Tauber
1d935d6659
Window decorations: support fullWindowContent mode on Windows and Linux
2024-02-02 10:06:25 +01:00
Karl Tauber
30af74f806
macOS: setting window background (of undecorated window) to translucent color (alpha < 255) did not show the window translucent (issue #705 )
2024-01-28 11:57:17 +01:00
Karl Tauber
c946ec170d
macOS window buttons spacing:
...
- uninstall when switching from FlatLaf to another Laf
- install when switching from another Laf to FlatLaf
(for PR #779 )
2024-01-27 11:09:16 +01:00
Karl Tauber
3465fa68b4
macOS window buttons spacing:
...
- renamed client property `MACOS_WINDOW_BUTTON_STYLE` to `MACOS_WINDOW_BUTTONS_SPACING`
- no longer allow value `true` for that client property
- enable using `MACOS_WINDOW_BUTTONS_SPACING` without `apple.awt.fullWindowContent`
- remove client property `FULL_WINDOW_CONTENT_BUTTONS_BOUNDS` when `apple.awt.fullWindowContent` is set to false or null
- added placeholder options `zeroInFullScreen`, `leftToRight` and `rightToLeft`
- hide close/min/max buttons during the transition from full-screen to non-full-screen to avoid that they "jump" when the nsToolbar is made visible
- fixed: full-screen listeners where added multiple times
- updated macOS native libraries
- added `FlatMacOSTest`
2024-01-22 00:31:40 +01:00
Karl Tauber
cf3fa17666
fixed typos and grammar
2024-01-11 18:11:09 +01:00
Karl Tauber
7d16ff9e79
SplitPane:
...
- removed `SplitPaneDivider.showHover` (hover is now enabled if hover color is specified)
- added `SplitPaneDivider.pressedColor` (for pressed/dragging in continuous layout)
- fixed painting of dragging divider in non-continuous layout (was 1px too small; added grip)
- updated styling unit tests
2024-01-08 22:39:01 +01:00
Dar
6e453c170f
new: support for hover on splitpane divider
2023-12-29 12:38:34 +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
6f32236fb7
macOS: native rounded borders for popups (issue #715 )
2023-12-09 16:12:35 +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
ec7673790c
Demo: added macOS themes to control bar combobox (F5 and F6)
2023-11-14 11:42:54 +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
61ba011c3b
Testing: introduced FlatTestEnumSelector (a toolbar with a single button group) for easier testing
2023-11-01 14:53:06 +01: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
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
808833d749
UIDefaultsDump: dump action maps (ActionMap)
2023-08-25 14:02:22 +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
Karl Tauber
afaa2c8c78
FileChooser: show localized text for all locales supported by Metal (issue #680 )
2023-08-06 18:35:25 +02:00
Karl Tauber
8e3c8ba6c5
Window decorations: support toolbox-style "small" window title bar (issue #659 )
2023-07-30 15:26:44 +02:00
Karl Tauber
11c02e5f50
FlatWindowDecorationsTest: redesigned UI; added "FlatLaf window decorations" checkbox
2023-07-02 18:03:39 +02:00
Karl Tauber
97018df2f9
added Error Prone ( https://errorprone.info/ ) and fixed reported errors and warnings
...
- CI runs Error Prone with Java 11
- use Gradle task `errorprone` to run it on development machine
- fixes are mostly cosmetic except:
- use Locale.ENGLISH for String.toLowerCase()
- use explicit character encoding when reading/writing files
- TabbedPane: wrong logic in mouse-wheel scrolling
- SplitPane: simplified property change listener (fixes hiding field `propertyChangeListener` of superclass)
2023-05-19 22:58:12 +02:00
Karl Tauber
2f5c54bb49
Tree: Fixed missing custom closed/opened/leaf icons of a custom DefaultTreeCellRenderer. (issue #653 ; regression since implementing PR #609 in FlatLaf 3.0)
2023-03-02 23:06:35 +01:00
Karl Tauber
425f3acced
Window decorations on Linux: fixed behavior of maximize/restore button when tiling window to left or right half of screen (issue #647 )
2023-02-23 15:37:26 +01:00
Karl Tauber
f5f6850172
fixed HiDPIUtils.paintAtScale1x(), which painted at wrong location if graphics is rotated, is scaled and x or y parameters are not zero (issue #646 )
2023-02-05 16:56:04 +01:00
Karl Tauber
28cdde3f17
Tree: fixed truncated node text and too small painted non-wide node background if custom cell renderer sets icon, but not disabled icon, and tree is disabled (issue #640 )
2023-02-02 11:50:13 +01:00
Karl Tauber
29b801e13d
TabbedPane: support hover and focused tab foreground colors (issue #627 )
...
changed background behavior: `tabbedPane.getBackgroundAt(tabIndex)` now has higher priority than `TabbedPane.focusColor` and `TabbedPane.selectedBackground`
2023-01-31 13:58:42 +01:00
Karl Tauber
1435469ee5
TableHeader: support column hover and pressed background and foreground colors (issue #636 )
2023-01-30 14:21:44 +01:00
Karl Tauber
4e1e749094
Fonts: added Roboto Mono (issue #638 )
2023-01-12 14:08:08 +01:00
Karl Tauber
2134c19c58
IntelliJ Themes: avoid that accent color affect some colors in some IntelliJ themes (issue #625 )
2023-01-02 18:58:18 +01:00
Karl Tauber
d286550572
Merge PR #613 : Window decorations: Title bar customizing
2022-12-03 19:33:05 +01:00
Karl Tauber
4e44e25d30
macOS themes: fix horizontal centering of combobox arrows (issue #497 ; PR #533 )
2022-12-03 19:17:10 +01:00
Karl Tauber
d209d47b9e
Testing: added FlatPaintingArrowsTest (extracted from FlatPaintingTest and used parts of FlatPaintingIconsTest)
2022-11-26 18:04:29 +01:00
Karl Tauber
d491847754
Fonts: support lazy font file loading (extends PRs #545 and #614 )
2022-11-21 11:51:27 +01:00
Karl Tauber
78c2f98f1f
Fonts: added Roboto
2022-11-19 16:49:26 +01:00
Karl Tauber
0d2e1e6d18
Fonts: HiDPIUtils: improved vertical position correction of text (on Windows) for various fonts
2022-11-18 17:35:59 +01:00
Karl Tauber
e7d2b5cbb6
Fonts: added Inter and JetBrains Mono
2022-11-17 22:59:31 +01:00
Karl Tauber
4d175da3a0
Window decorations: added debug option to paint title bar rectangles that are used by Windows 10/11 in WM_NCHITTEST to identify special areas
2022-11-16 20:07:11 +01:00
Karl Tauber
5f047ddda9
Window decorations: added client properties to hide title, iconify, maximize/restore and close buttons (issue #608 )
2022-11-16 11:08:31 +01:00
Karl Tauber
ccca6fe88e
Merge PR #612 : macOS themes: make spinner look like macOS stepper
2022-11-16 10:59:10 +01:00
Karl Tauber
62f0ef19f4
macOS themes: make spinner look like macOS stepper (issue #497 ; PR #533 )
2022-11-15 14:29:47 +01:00
Karl Tauber
b736502c27
Tree: hide default closed/opened/leaf icons by default
2022-11-14 14:59:47 +01:00
Karl Tauber
a6394cac38
minor code cleanup:
...
- remove redundant semicolon
- create array with curly
2022-11-14 12:25:29 +01:00
Karl Tauber
b459715cb5
macOS light and dark themes (issue #497 )
2022-11-01 11:37:29 +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
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