Karl Tauber
299bd67151
Styling: support PopupMenu
2021-07-23 08:54:50 +02:00
Karl Tauber
4d4bb3fd7f
Styling: added StyleableUI.getStyleableInfos() for tooling (e.g. GUI builder)
2021-07-21 11:51:19 +02:00
Karl Tauber
7fd64a1b73
Styling: support InternalFrame
2021-07-20 08:57:21 +02:00
Karl Tauber
e3e8765b91
Styling: support MenuBar
2021-07-19 14:39:57 +02:00
Karl Tauber
943dfe0619
Styling: support styling for recently merged changes
2021-07-11 01:41:52 +02:00
Karl Tauber
be7114d3e6
Merge remote-tracking branch 'origin/main' into styling
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatButtonBorder.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatToolBarUI.java
2021-07-11 01:26:11 +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
94375b7d36
Extras: added support for client property JTextField.padding (for commit a9dcf09d13)
2021-07-10 20:59:34 +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
4d8b544aed
UIDefaultsKeysDump: also use FlatTestLaf, which adds missing keys to FlatLafUIKeys.txt
2021-07-10 13:28:02 +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
74a748d92e
use LoggingFacade instead of printStackTrace() in flatlaf-extras and flatlaf-demo
2021-07-09 13:22:37 +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
90282d4436
UI defaults dumps updated for issue #335
2021-07-08 00:02:33 +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
713a01bfa9
Styling: set "shared" flag to true when shared icon is assigned
2021-07-05 23:12:45 +02:00
Karl Tauber
ac291b688d
Styling: fixed detection of value type if key prefix ix given (e.g. [light]padding)
2021-07-05 22:40:55 +02:00
Karl Tauber
84f7e244f2
Styling:
...
- support ComboBox.padding
- fixed updating of Spinner.padding
2021-07-05 22:36:57 +02:00
Karl Tauber
4a8207f367
Styling: use TestUtils.setup() in unit tests;
2021-07-05 21:58:48 +02:00
Karl Tauber
9cfd4d27e9
Styling: renamed unit tests (so that all unit test classes start with Test)
2021-07-05 21:48:41 +02:00
Karl Tauber
1b23cfd747
Merge remote-tracking branch 'origin/main' into styling
...
# Conflicts:
# flatlaf-core/build.gradle.kts
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatComboBoxUI.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatPasswordFieldUI.java
2021-07-05 21:38:07 +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
5801bf3bdf
Styling: use FlatLightLaf in unit tests and get UI delegates from components
2021-07-04 10:43:08 +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
2b1c55ee67
Styling: support TabbedPane
2021-06-27 17:12:46 +02:00
Karl Tauber
925ddaa63a
Styling: update MigLayout visual padding
2021-06-25 21:40:19 +02:00
Karl Tauber
2b60b18d47
Styling: support ScrollPane
2021-06-25 21:39:52 +02:00