ComboBox and Spinner: no longer use preferred height for arrow button width, because preferred height may be zero, which would hide arrow button (see https://github.com/scijava/scijava-ui-swing/issues/77#issuecomment-1261452712)

- arrow button width depends on combobox/spinner height
- default/max button width is height of a raw combobox/spinner (without insets)
- min button width is 3/4 of default button width
This commit is contained in:
Karl Tauber
2022-09-30 12:30:46 +02:00
parent ca88023560
commit 92c110548a
3 changed files with 16 additions and 4 deletions

View File

@@ -1,6 +1,14 @@
FlatLaf Change Log
==================
## 3.0-SNAPSHOT
#### Fixed bugs
- ComboBox and Spinner: Fixed missing arrow buttons if preferred height is zero.
Minimum width of arrow buttons is 3/4 of default width.
## 2.5
#### New features and improvements