Karl Tauber
37dab9fb22
TabbedPane: fixed rendering of tab separators in scroll layout if scaled on HiDPI screens
2021-07-12 11:48:34 +02:00
Karl Tauber
fb44c8fbe4
TextField: fixed location of placeholder text if paddings are used (e.g. in ComboBox) (for commit a9dcf09d13)
2021-07-10 21:05:26 +02:00
Karl Tauber
8b585deb78
ToolBar: support focusable buttons in toolbar (issue #346 )
...
fixed focusable state when switching to/from other Laf
2021-07-10 13:32:30 +02:00
Karl Tauber
548d651d29
PasswordField: move the lower bar of the caps lock icon up a half pixel
2021-07-10 11:03:13 +02:00
Karl Tauber
0b342acec9
PasswordField: paint caps lock icon on left side in right-to-left component orientation
2021-07-09 15:14:29 +02:00
Karl Tauber
cc6d3c1b1a
PasswordField: Caps lock icon no longer painted over long text (issue #172 )
2021-07-09 15:03:16 +02:00
Karl Tauber
1de81d0af5
ComboBox: fixed StackOverflowError when using single renderer instance in multiple comboboxes (regression since commit 4507ce359d)
2021-07-09 11:39:35 +02:00
Karl Tauber
ff9ef21f67
OptionPane: align wrapped lines to the right if component orientation is right-to-left (issue #350 )
2021-07-08 17:53:44 +02:00
Karl Tauber
266a546478
Window decorations: window title bar width is no longer considered when calculating preferred/minimum width of window (issue #351 )
2021-07-08 16:54:34 +02:00
Karl Tauber
87407ca832
Table and PopupFactory: use StackWalker in Java 9+ for better performance (issue #334 )
2021-07-08 14:02:50 +02:00
Karl Tauber
abbe6d6c1f
ToolBar: paint focus indicator for focused button in toolbar (issue #346 )
2021-07-07 18:17:45 +02:00
Karl Tauber
a28f701e6f
OptionPane: do not make child components, which are derived from JPanel, non-opaque (issue #349 )
2021-07-07 10:57:54 +02:00
Karl Tauber
4cdc995a7f
ComboBox: simplified code in configureEditor()
2021-07-05 23:14:05 +02:00
Karl Tauber
c708205593
TestFlatComponentSizes: shortened combobox text because unit tests on GitHub Actions use font size 15
2021-07-05 20:06:07 +02:00
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
731c8962c9
added missing since 1.3
2021-07-02 10:21:55 +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
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
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
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
38a3a0768d
Tree: fill cell background if DefaultTreeCellRenderer.setBackgroundNonSelectionColor(Color) was used (issue #322 )
2021-05-12 15:45:36 +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
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