Karl Tauber
|
88576f68fd
|
CheckBox and RadioButton: added RadioButton.icon.style (similar to CheckBox.icon.style) to support different styles for checkbox and radiobutton
(e.g. Material design uses filled checkboxes, but outlined radiobuttons)
|
2021-11-03 11:27:18 +01:00 |
|
Karl Tauber
|
aa4e013097
|
CheckBox and RadioButton: made focused icon better recognizable in **FlatLaf Light** and **Dark** themes by painting a 1px focus border; **Darcula** and **IntelliJ** themes are not changed
|
2021-11-03 11:15:17 +01:00 |
|
Karl Tauber
|
d67cfc911b
|
CheckBox and RadioButton:
- added `CheckBox.icon.selectedBorderWidth`
- added `CheckBox.icon.disabledSelectedBorderWidth`
- added `CheckBox.icon.disabledSelectedBorderColor`
- added `CheckBox.icon.disabledSelectedBackground`
- changed `CheckBox.icon.focusWidth` from `int` `float`
|
2021-11-03 10:59:39 +01:00 |
|
Karl Tauber
|
00a3ad738f
|
CheckBox and RadioButton: made selected icon better recognizable in **FlatLaf Light** (use blue border), **Dark** and **Darcula** (use lighter border) themes; **IntelliJ** theme is not changed
|
2021-10-31 18:26:31 +01:00 |
|
Karl Tauber
|
1d39d34d7c
|
CheckBox and RadioButton:
- added `CheckBox.icon.hoverCheckmarkColor`
- added `CheckBox.icon.selectedHoverBorderColor`
- added `CheckBox.icon.pressedBorderColor`
- added `CheckBox.icon.selectedPressedBorderColor`
- added `CheckBox.icon.pressedCheckmarkColor`
- renamed `CheckBox.icon.selectedFocusedBorderColor` to `CheckBox.icon.focusedSelectedBorderColor`
- renamed `CheckBox.icon.selectedFocusedBackground` to `CheckBox.icon.focusedSelectedBackground`
- renamed `CheckBox.icon.selectedFocusedCheckmarkColor` to `CheckBox.icon.focusedCheckmarkColor`
- renamed `CheckBox.icon.selectedHoverBackground` to `CheckBox.icon.hoverSelectedBackground`
- renamed `CheckBox.icon.selectedPressedBackground` to `CheckBox.icon.pressedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedBorderColor` to `CheckBox.icon[filled].focusedSelectedBorderColor`
- renamed `CheckBox.icon[filled].selectedFocusedBackground` to `CheckBox.icon[filled].focusedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedCheckmarkColor` to `CheckBox.icon[filled].focusedCheckmarkColor`
- renamed `CheckBox.icon[filled].selectedHoverBackground` to `CheckBox.icon[filled].hoverSelectedBackground`
- renamed `CheckBox.icon[filled].selectedPressedBackground` to `CheckBox.icon[filled].pressedSelectedBackground`
(Note: this are incompatible changes!)
|
2021-10-31 17:39:48 +01:00 |
|
Karl Tauber
|
5f6013edd4
|
Theme Editor: Switches" preview:
- show indeterminate state for checkboxes
- removed "text" from checkboxes and radio buttons
|
2021-10-31 11:17:37 +01:00 |
|
Karl Tauber
|
3e198ecd28
|
JIDE: RangeSlider: support specifying width of thumb borders (fixes compile error in commit dd806144)
|
2021-10-30 20:37:12 +02:00 |
|
Karl Tauber
|
d48b98f582
|
ComboBox: fix NPE in CellPaddingBorder.install() (issue #408)
|
2021-10-30 20:25:57 +02:00 |
|
Karl Tauber
|
9b839231f7
|
ToggleButton: use UI values from Button
|
2021-10-30 14:04:31 +02:00 |
|
Karl Tauber
|
dd80614465
|
ComboBox, Spinner, TextField and subclasses, CheckBox, RadioButton and Slider: support specifying width of borders
|
2021-10-30 14:02:49 +02:00 |
|
Karl Tauber
|
8c2be1b406
|
FlatButtonBorder: removed fields that override fields from FlatBorder
|
2021-10-29 14:09:58 +02:00 |
|
Karl Tauber
|
8152b7dad6
|
UIDefaultsLoader: further reduced need for value type prefixes in properties files and in CSS styles
|
2021-10-29 13:55:28 +02:00 |
|
Karl Tauber
|
fb4fe175d9
|
UIDefaultsLoader: reduced need for {float} in properties files and in CSS styles
|
2021-10-29 13:33:55 +02:00 |
|
Karl Tauber
|
5e03eb9b51
|
UIDefaultsDump: removed Java 8 patch version from dump file names
|
2021-10-28 21:01:16 +02:00 |
|
Karl Tauber
|
ef25575f85
|
ignore internal UI keys in dumps and in UI defaults inspector
|
2021-10-28 20:47:47 +02:00 |
|
Karl Tauber
|
b77b338c7a
|
Styling: support using variables (defined in properties files) in CSS styles
|
2021-10-28 19:03:13 +02:00 |
|
Karl Tauber
|
0e4fe4e9bb
|
Theme Editor: support platform and light/dark specific properties in preview
|
2021-10-26 18:46:08 +02:00 |
|
Karl Tauber
|
f742f83834
|
Typography: added thin font/style
|
2021-10-26 13:16:52 +02:00 |
|
Karl Tauber
|
e6e4e53a73
|
Typography: added light and semibold font/style
|
2021-10-25 13:27:40 +02:00 |
|
Karl Tauber
|
7c594ba7a9
|
Typography: UIDefaultsDump: dumps updated on macOS Big Sur
|
2021-10-25 13:06:34 +02:00 |
|
Karl Tauber
|
0156a9a9d5
|
Merge PR #401: Text components: double/triple-click-and-drag selection improvements
|
2021-10-24 20:06:06 +02:00 |
|
Karl Tauber
|
3facbc0900
|
macOS: improved macOS support of Demo and Theme Editor:
- set application name that is used in screen menu bar
- enable dark window title bars if macOS is in dark mode
|
2021-10-24 17:05:50 +02:00 |
|
Karl Tauber
|
78cef1b3c7
|
Theme Editor:
- use class `FlatDesktop`
- hide "File > Exit" and "Help > About" on macOS
- enable macOS screen menu bar
|
2021-10-24 11:49:48 +02:00 |
|
Karl Tauber
|
d907c469ed
|
Theme Editor: renamed class FlatThemeEditor to FlatLafThemeEditor because this name is shown in macOS screen menu bar (and to be consistent with FlatLafDemo)
|
2021-10-24 11:43:28 +02:00 |
|
Karl Tauber
|
cc238d3e34
|
Extras: added class FlatDesktop for easy integration into macOS screen menu (About, Preferences and Quit) when using Java 8
Demo:
- use class `FlatDesktop`
- hide "File > Exit" and "Help > About" on macOS
|
2021-10-24 09:44:34 +02:00 |
|
Karl Tauber
|
0f9b38895e
|
FlatComponents2Test: allow enabling tree editing
|
2021-10-23 09:20:53 +02:00 |
|
Karl Tauber
|
8fa1eae352
|
TextComponents: triple-click-and-drag now extends selection by whole lines
triple-click-and-drag does not work in theme editor because drag is enabled, anyway a triple-click now selects the whole line before dragging starts
|
2021-10-22 13:14:01 +02:00 |
|
Karl Tauber
|
e13fb25f14
|
TextComponents: keep selection when switching theme
|
2021-10-21 22:57:28 +02:00 |
|
Karl Tauber
|
e36f942129
|
TextComponents: double-click-and-drag now extends selection by whole words
|
2021-10-21 13:24:07 +02:00 |
|
Karl Tauber
|
d34619824c
|
Typography: support deriving font from any other font (was always from defaultFont) (issue #384)
|
2021-10-17 16:54:05 +02:00 |
|
Karl Tauber
|
80297f113f
|
UIDefaultsLoader: detect string values, that start and end with '"', after determining value type from key to allow font values like "Roboto Mono"
|
2021-10-17 14:59:18 +02:00 |
|
Karl Tauber
|
80f51bfe1e
|
Theme Editor: fixed StackOverflowError when setting "defaultFont" to non-font value (e.g. defaultFont = #fff)
|
2021-10-17 14:43:12 +02:00 |
|
Karl Tauber
|
f8b9f4c1fa
|
Table: do not select text in cell editor when it gets focus (when JTable.surrendersFocusOnKeystroke is true) and TextComponent.selectAllOnFocusPolicy is once (the default) or always (issue #395)
|
2021-10-16 23:32:08 +02:00 |
|
Karl Tauber
|
587f431ef4
|
Typography: added FlatFontsTest to quickly view all available fonts on the current system
|
2021-10-16 18:56:53 +02:00 |
|
Karl Tauber
|
65a4f66d2c
|
Merge branch 'release-1.6.1' into main
# Conflicts:
# CHANGELOG.md
|
2021-10-14 22:50:44 +02:00 |
|
Karl Tauber
|
a253b6c0cf
|
release 1.6.1
1.6.1
|
2021-10-14 22:35:33 +02:00 |
|
Karl Tauber
|
efcbc1fbdb
|
Native window decorations: catch UnsatisfiedLinkError when trying to load jawt.dll to avoid an application crash (Java 8 on Windows 10 only)
|
2021-10-14 18:59:26 +02:00 |
|
Karl Tauber
|
e560f9cbd6
|
Typography: added typography/fonts preview to theme editor
|
2021-10-13 15:47:55 +02:00 |
|
Karl Tauber
|
80235d53f4
|
Typography: added FlatTypographyTest, which was used to compare various typography systems
|
2021-10-13 14:29:57 +02:00 |
|
Karl Tauber
|
892b9a732e
|
Typography: added typography/fonts to demo
|
2021-10-13 14:17:40 +02:00 |
|
Karl Tauber
|
d8a0a015e4
|
Typography: Extras: add labelType property to FlatLabel
|
2021-10-13 13:48:03 +02:00 |
|
Karl Tauber
|
e60e3b9fae
|
Typography: added monospaced font/style
|
2021-10-13 13:46:43 +02:00 |
|
Karl Tauber
|
6715f01b8c
|
Typography: use typography styles in demo, theme editor, etc
|
2021-10-13 11:48:28 +02:00 |
|
Karl Tauber
|
465af9bc41
|
Typography: added fonts/styles for headings and various text sizes
|
2021-10-13 10:53:37 +02:00 |
|
Karl Tauber
|
d10bcfc72f
|
Theme Editor: fixed StackOverflowError when adding "defaultFont" key to properties file
|
2021-10-12 23:50:45 +02:00 |
|
Karl Tauber
|
942e5b9cd1
|
IntelliJ Themes: do not ignore UI keys prefixed with [style] to allow using styles
|
2021-10-12 22:29:38 +02:00 |
|
Karl Tauber
|
51a90d32f8
|
support defining "defaultFont" in FlatLaf properties files (issue #384)
|
2021-10-12 11:13:40 +02:00 |
|
Karl Tauber
|
ac46632e73
|
UIDefaultsLoader: do not detect string values that start and end with '"', but also contain ", as string (e.g. font value "Roboto Mono", "Ubuntu Mono")
|
2021-10-10 17:59:00 +02:00 |
|
Karl Tauber
|
1192bef1ae
|
Styling: use cache for parsed fonts, which is mostly used for fonts in CSS styles (e.g. font: bold +4) (issue 384)
|
2021-10-08 22:08:37 +02:00 |
|
Karl Tauber
|
b9ec382589
|
support defining fonts in FlatLaf properties files (issue #384)
|
2021-10-08 20:23:54 +02:00 |
|