Karl Tauber
1f1ebc3c44
FlatSVGIcon: some additions to PR #817 :
...
- create new `LinearGradientPaint` only if color has changed
- preserve old `LinearGradientPaint.colorSpace` and `transform`
2024-03-12 12:20:31 +01:00
Karl Tauber
fbdc8d5b99
Merge branch 'windows-full-window-content'
2024-02-19 22:25:04 +01:00
Karl Tauber
2972300112
Table: select all text in cell editor when starting editing using F2 key; can be disabled using Table.editorSelectAllOnStartEditing (issue 652)
...
also added missing `Table.paintOutsideAlternateRows`
2024-02-19 22:03:19 +01:00
Karl Tauber
d7a76081e3
FileChooser: extended FlatFileChooserTest to support testing various locales (issue #795 )
2024-02-12 12:05:01 +01:00
Karl Tauber
fd925a6718
FileChooser: extended FlatFileChooserTest to support testing all JFileChooser properties (issue #795 )
2024-02-10 19:35:53 +01:00
Karl Tauber
4fc890a77c
Testing: split FlatChooserTest into FlatFileChooserTest and FlatChooserTest
2024-02-10 14:16:45 +01:00
Karl Tauber
c6338169f3
Testing: updated lafs.properties
2024-02-05 14:20:21 +01:00
Karl Tauber
3d8eb9eb66
UIDefaultsKeysDump: exclude unused UI properties
2024-02-05 11:33:25 +01:00
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
c25d857e78
UI defaults dumps updated on macOS for commits 9fef2f9d05 and ce527329a6
2023-12-08 19:07:32 +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
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
8d8b9f3e98
macOS themes: fixed ToolBar.hoverButtonGroupArc
2023-11-01 14:52:17 +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
c953ff84d0
added explicit file encoding for Eclipse projects
2023-08-12 22:45:02 +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
c395386c05
Merge PR #702 : Window decorations: support toolbox-style "small" window title bar
2023-08-05 17:05:54 +02:00
Karl Tauber
4f1207b0db
Merge PR #703 : TabbedPane: support rounded underline selection and rounded card tabs
2023-08-05 16:59:57 +02:00
Karl Tauber
ce527329a6
ComboBox: fixed search in item list for text with spaces (issue #691 )
2023-08-01 15:19:15 +02:00
Karl Tauber
b455dd41ab
TabbedPane: going back to 3px tab selection for macOS themes
2023-07-31 22:36:59 +02:00
Karl Tauber
f1351a2093
TabbedPane: support rounded underline selection and rounded card tabs
2023-07-31 13:36:18 +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
dfe4404a17
fixed build error in flatlaf-testing-modular-app caused by moving to JSVG (PR #684 )
2023-07-30 14:33:24 +02:00
Karl Tauber
11c02e5f50
FlatWindowDecorationsTest: redesigned UI; added "FlatLaf window decorations" checkbox
2023-07-02 18:03:39 +02:00
Karl Tauber
f003e835bd
macOS themes: changing @accentColor variable in FlatLaf properties files did not change all accent related colors for all components
2023-06-21 12:15:12 +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
9d84501bc8
Gradle: moved declaration of all external dependencies to libs.versions.toml and use Gradle version catalog
2023-05-18 15:37:03 +02:00
Karl Tauber
778def118a
List, Table, Tree: improved color of cell focus indicator border
...
- was black
- now derived from selection color (usually accent color)
- darker in light themes
- lighter in dark themes
(issue #654 )
2023-03-26 14:56:15 +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
136e1e4e30
Merge PR #643 : Windows 11: Rounded popup windows
2023-02-05 16:59:16 +01:00