Karl Tauber
e2e3fd31e9
FlatSmoothScrollingTest:
...
- added small vertical line to indicate data points in chart
- added split pane to allow changing height of components
- Alt+C clears chart without moving focus to "Clear" button
- separate chart lines for smooth and non-smooth scrolling
2023-08-23 09:51:57 +02:00
Karl Tauber
cf70cfb50c
ScrollBar: fixed temporary painting at wrong location during smooth scrolling when using mouse-wheel or scroll bar
...
(still occurs when scrolling by moving selection via keyboard)
many thanks to @Chrriis for the idea to temporary disable blitting mode on viewport
2023-08-23 09:51:57 +02:00
Karl Tauber
29f6c5fae9
FlatAnimatorTest: added test for precise scrolling with trackpad
2023-08-23 09:51:57 +02:00
Karl Tauber
419a689ca4
FlatAnimatorTest: added test for wheel scrolling (including chart)
2023-08-23 09:51:57 +02:00
Karl Tauber
865a56875f
FlatSmoothScrollingTest: added "custom" scroll pane for testing smooth scrolling in case that scroll view does not implement Scrollable interface
2023-08-23 09:51:57 +02:00
Karl Tauber
1f2622819a
FlatSmoothScrollingTest: support dark themes and added "Show table grid" and "Auto-resize mode" check boxes
2023-08-23 09:51:57 +02:00
Karl Tauber
305e9e602e
ScrollBar: fixed jittery scrolling when in repeating mode (hold down mouse button) and smooth scrolling enabled
2023-08-23 09:51:57 +02:00
Karl Tauber
1ae31588c4
FlatSmoothScrollingTest: paint "temporary" scrollbar values in line chart using a lighter color
2023-08-23 09:51:56 +02:00
Karl Tauber
d64a8e93e1
FlatSmoothScrollingTest:
...
- use ChangeListener instead of AdjustmentListener because this is invoked before all other scrollbar listeners (which may run 20-30ms) and avoids a delay in the line chart
- use System.nanoTime() instead of System.currentTimeMillis() for better precision
- paint vertical lines in chart at every 200ms (was 1sec)
- print elapsed time between scrollbar events
2023-08-23 09:51:56 +02:00
Karl Tauber
e603bd81a1
FlatSmoothScrollingTest: added simple line chart that shows changes to scrollbar values
2023-08-23 09:51:56 +02:00
Karl Tauber
522ebb6fa3
FlatSmoothScrollingTest: allow enabling/disabling smooth scrolling with Alt+S without moving focus to checkbox; removed unused tree model
2023-08-23 09:51:56 +02:00
Karl Tauber
762fe89867
FlatSmoothScrollingTest: added JTree, JTable, JTextArea, JTextPane and JEditorPane for testing smooth scrolling
2023-08-23 09:51:56 +02:00
Karl Tauber
736305849a
ScrollBar: set valueIsAdjusting property to true while smooth scrolling animation is running (issue #50 )
2023-08-23 09:51:56 +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
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
f8d67f863f
UI defaults dumps updated for commits 9fef2f9d05
2023-01-27 22:27:36 +01:00
Karl Tauber
9014435d4d
Windows 11: made rounded popup border configurable via UI properties and client property
2023-01-27 15:00:11 +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
a1f18e1ec9
macOS themes: fixed spinner arrow hover/pressed colors (issue #497 ; PR #533 )
2022-11-16 10:51:38 +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