Karl Tauber
a22c6c8013
ComboBox (not editable):
...
- increased size of internal renderer pane to the component border so that it can paint within the whole component
- increase combo box size if a custom renderer uses a border with insets that are larger than the default combo box padding (`2,6,2,6`)
2021-07-05 18:41:17 +02:00
Karl Tauber
b576f473e5
fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java 8 only) so that Button, ComboBox, Spinner and TextField components (including subclasses) have same heights
2021-07-05 15:15:37 +02:00
Karl Tauber
0b127caa83
ComboBox: fixed minimum width if focusWidth > 0 (to be equal with button minimum width)
...
added some unit tests to compare component sizes
2021-07-05 11:07:32 +02:00
Karl Tauber
4507ce359d
ComboBox: reworked uninstall of CellPaddingBorder, which is temporary used for cell renderers, to make it easier to understand and reliable
...
(tested using FlatCustomBordersTest, FlatNetBeansTest, etc)
2021-07-03 10:43:55 +02:00
Karl Tauber
3e14f28dc2
ComboBox (editable) and Spinner: increased size of internal text field to the component border so that it behaves like plain text field (issue #330 )
2021-07-02 18:43:37 +02:00
Karl Tauber
a9dcf09d13
TextField: support adding extra padding
...
(for #172 , #173 and #330 )
2021-07-02 15:38:45 +02:00
Karl Tauber
c8998c2bcf
PasswordField: UI delegate FlatPasswordFieldUI now extends FlatTextFieldUI (instead of BasicPasswordFieldUI) to avoid duplicate code and for easier extensibility (e.g. for #173 and #341 )
2021-07-02 14:03:54 +02:00
Karl Tauber
10bf1295bc
CHANGELOG.md: fixed UI key ComboBox.popupFocusedBackground to ComboBox.popupBackground
2021-07-02 10:52:30 +02:00
Karl Tauber
1e869973d4
release 1.3
1.3
2021-07-02 10:40:27 +02:00
Karl Tauber
731c8962c9
added missing since 1.3
2021-07-02 10:21:55 +02:00
Karl Tauber
294b8bb789
Extras: FlatInspector: fixed border value when class hierarchy is enabled
2021-07-02 10:14:51 +02:00
Karl Tauber
4f9b819f48
Spinner: reduced gap between up and down arrows, which was increased by previous commit (issue #329 )
2021-06-30 18:57:54 +02:00
Karl Tauber
5318d5fa8e
ScrollBar: fixed left/top arrow icon location (if visible) (issue #329 )
...
(tested using FlatPaintingTest)
2021-06-30 18:47:16 +02:00
Karl Tauber
98b156bdde
TextComponents: use focusedBackground also if not editable (but enabled)
...
(PR #338 )
2021-06-30 00:01:33 +02:00
Karl Tauber
511dd02107
JIDE: build using latest version of JIDE library com.formdev:jide-oss:3.7.12
2021-06-29 22:58:42 +02:00
Karl Tauber
f1f7a2e7b6
Extras: FlatInspector: fixed missing "UI" row on Java 9+
2021-06-27 23:19:36 +02:00
Karl Tauber
d557cf5427
FlatTestFrame: do not print stack trace if lafs.properties does not exist
2021-06-27 21:36:49 +02:00
Karl Tauber
39d2941099
removed duplicate ;
2021-06-25 10:48:00 +02:00
Karl Tauber
2a732306a1
ComboBox: renamed UI key ComboBox.popupFocusedBackground to ComboBox.popupBackground
2021-06-22 08:59:11 +02:00
Karl Tauber
8a72b30cbc
Merge pull request #338 from Chrriis/focusedBackground
...
Issue #335 : allow a different background on focus
2021-06-15 11:57:17 +02:00
Karl Tauber
ed9cb0f918
Spinner: support Spinner.focusedBackground
...
ComboBox:
- prefer explicit set background color over focusedBackground
- if ComboBox.buttonFocusedBackground is not specified use ComboBox.focusedBackground
- added ComboBox.popupFocusedBackground
(issue #335 )
2021-06-15 11:50:30 +02:00
Karl Tauber
7e0915cb9c
FlatBorder: refractored ComboBox, ScrollPane and Spinner focus owner checking to UI delegates (for later usage)
2021-06-13 11:21:55 +02:00
Karl Tauber
a51294d570
TextComponents:
...
- use focusedBackground only if editable (and enabled)
- prefer explicit set background color over focusedBackground
- added FlatTextFieldUI.getBackground() used by all text components
- support EditorPane.focusedBackground
- support TextPane.focusedBackground
(issue #335 )
2021-06-12 20:46:59 +02:00
Karl Tauber
d962f218a1
ToolTip: fixed positioning of huge tooltips (issue #333 )
2021-06-11 20:53:09 +02:00
Karl Tauber
7b248427f0
fixed white lines at bottom and right side of window (in dark themes on HiDPI screens with scaling enabled)
2021-06-11 16:16:41 +02:00
Christopher Deckers
b99fb8b11f
Use focused background color for combo popups.
2021-06-09 09:56:50 +02:00
Christopher Deckers
26250e790f
Issue #335 : allow a different background on focus.
2021-06-08 10:12:59 +02:00
Karl Tauber
b26dbe81f4
README.md: changed deprecated FlatLightLaf.install() to FlatLightLaf.setup()
2021-06-01 16:23:54 +02:00
Karl Tauber
903212345b
.gitbugtraq added (for SmartGit)
2021-06-01 16:21:58 +02:00
Karl Tauber
025f6564dc
release 1.2
1.2
2021-05-18 18:23:41 +02:00
Karl Tauber
35f97368fa
Native window decorations: double-click at upper-left corner of maximized frame did not close window (issue #326 )
2021-05-18 18:00:53 +02:00
Karl Tauber
09e5c86488
FlatLaf.getDisabledIcon() now returns a instanceof UIResource for disabled SVG icons to allow recreation of disabled icons when switching to another Laf
2021-05-15 17:51:33 +02:00
Karl Tauber
8998371cae
Extras: FlatSVGUtils.createWindowIconImages(): return multi-resolution image only on Windows because Java implementations for macOS and Linux do not support multi-resolution images for window title icons
...
(issue #323 )
2021-05-14 17:33:40 +02:00
Karl Tauber
29e1dc6b55
FlatTitlePaneIcon: use getResolutionVariant(width, height) instead of getResolutionVariants() to allow creation of requested size on demand and to avoids creation of all resolution variants
...
Extras: `FlatSVGUtils.createWindowIconImages()` now returns a single multi-resolution image that creates requested image sizes on demand from SVG
(issue #323 )
2021-05-14 16:43:47 +02:00
Karl Tauber
439e63b52f
Native window decorations: updated DLLs (issue #283 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/838543378
2021-05-13 13:43:45 +02:00
Karl Tauber
eea341fb33
Native window decorations: fixed broken maximizing window (under special conditions) when restoring frame state at startup (issue #283 )
2021-05-13 12:10:11 +02:00
Karl Tauber
359eedf773
Native window decorations: fixed slow application startup under particular conditions (issue #319 )
2021-05-13 00:54:22 +02:00
Karl Tauber
866751ffc1
Extras: FlatInspector: show class hierarchies when pressing Alt key and prettified class names (dimmed package name)
2021-05-12 19:03:13 +02:00
Karl Tauber
38a3a0768d
Tree: fill cell background if DefaultTreeCellRenderer.setBackgroundNonSelectionColor(Color) was used (issue #322 )
2021-05-12 15:45:36 +02:00
Karl Tauber
03b42749cd
replaced deprecated (since Java 9) KeyEvent.*_MASK with KeyEvent.*_DOWN_MASK
2021-05-12 14:03:16 +02:00
Karl Tauber
60fd78e082
build.gradle.kts: removed unnecessary mapOf() and fixed formatting
2021-05-12 13:59:50 +02:00
Karl Tauber
9edaf58929
Linux: fixed/improved detection of user font settings (issue #309 )
2021-05-04 22:41:00 +02:00
Karl Tauber
5000186f85
Linux: enable text anti-aliasing if no Gnome or KDE Desktop properties are available (issue #218 )
2021-05-04 22:11:15 +02:00
Karl Tauber
cacf0ea987
ComboBox: support using as cell renderer (e.g. in JTable)
2021-05-04 21:39:08 +02:00
Karl Tauber
067501cbe7
Native window decorations: avoid double window title bar if enabling native window border failed (issue #315 )
2021-04-23 21:12:40 +02:00
Karl Tauber
9fe0cf496b
Native window decorations: updated DLLs (issue #315 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/778322373
2021-04-23 18:23:44 +02:00
Karl Tauber
9d0823038e
Native window decorations: fixed occasional double window title bar when creating many frames or dialogs (issue #315 )
2021-04-23 18:14:00 +02:00
Karl Tauber
5a05efefdd
build.gradle.kts:
...
- moved javadoc options from subprojects to root project
- removed "API" from titles in HTML files
- added subproject name and version to header and footer
- use links to Java 11 API
2021-04-22 23:00:28 +02:00
Karl Tauber
988d171bdd
fixed javadoc warnings/errors when building with Java 15
2021-04-22 16:20:50 +02:00
Karl Tauber
e6f72bf343
fixed some deprecation warnings when compiling with Java 11
2021-04-22 15:53:02 +02:00