Commit Graph

1421 Commits

Author SHA1 Message Date
Karl Tauber
5288e0f54e introduced Component.innerFocusWidth UI default to allow "inner" focus border (e.g. if outer focus border width is zero)
currently zero in all themes because:
- undecided whether it is necessary
- not useful for "Flat IntelliJ" and "Flat Darcula" themes
- focused buttons in "Flat Light" theme already have light blue background
- does not work for components in scrollpanes (e.g. textarea)
2019-10-05 11:14:23 +02:00
Karl Tauber
c87f5cb05f Button: use bold font for default buttons in "Flat IntelliJ" and "Flat Darcula" themes 2019-10-05 11:03:18 +02:00
Karl Tauber
17074eb16d travis: added openjdk13 2019-10-04 19:31:59 +02:00
Karl Tauber
43429ddc39 hide label and button mnemonics on Mac (#4) 2019-10-04 19:26:09 +02:00
Karl Tauber
7ef598ded6 ComboBox: if not editable, then hover highlight arrow even if mouse is not in arrow button 2019-10-04 18:55:13 +02:00
Karl Tauber
37c70f6c9e Button: make icon-only buttons square (no minimum width, smaller left/right insets) 2019-10-04 18:18:53 +02:00
Karl Tauber
26a2446a4d FlatTestFrame: use same F-keys as in demo 2019-10-03 15:03:12 +02:00
Karl Tauber
771c949d74 Demo: update scale factor in info label when moving window to another screen 2019-10-03 14:49:11 +02:00
Karl Tauber
23d448d4fc FlatTestFrame: added scale factor combobox (Java 8 only) 2019-10-03 14:26:03 +02:00
Karl Tauber
86577c5fef FlatTestFrame: show scale factor in window title 2019-10-03 11:27:11 +02:00
Karl Tauber
3a69b41646 support specifying custom scale factor in system properties flatlaf.uiScale or sun.java2d.uiScale. E.g. -Dflatlaf.uiScale=1.5. (Java 8 only) 2019-10-03 10:23:15 +02:00
Karl Tauber
2d26b6fa94 SplitPane: scale one-touch buttons 2019-10-02 23:28:05 +02:00
Karl Tauber
144f79f0f9 chevron arrows implemented (closes #7)
use chevron arrows in "Flat Light" and "Flat Dark" themes, but keep triangle arrows in "Flat IntelliJ" and "Flat Darcula" themes
2019-10-02 19:13:47 +02:00
Karl Tauber
8ea23fc533 removed ModuleDepsTest.java 2019-10-01 19:39:25 +02:00
Karl Tauber
ae714502fb temporary added ModuleDepsTest.java, which uses module java.sql, to test whether compiler reports errors on Travis CI 2019-10-01 19:34:45 +02:00
Karl Tauber
07d6755ddb JPMS: compile main sources with module-info.java to make sure that compiler reports errors if classes are used from other modules that are not specified in module dependencies (#1) 2019-10-01 19:31:43 +02:00
Karl Tauber
177996ee81 JPMS: fix build running on Java 9 (#1) 2019-10-01 17:57:00 +02:00
Karl Tauber
3847b14033 support Java Platform Module System (JPMS) (issue #1) 2019-10-01 17:34:18 +02:00
Karl Tauber
423805be3a README.md: added maven coordinates 2019-09-28 14:01:25 +02:00
Karl Tauber
7d4a8f571e initial release 0.9 2019-09-28 12:17:00 +02:00
Karl Tauber
448f76b954 travis: added bintray upload 2019-09-28 11:55:16 +02:00
Karl Tauber
5e88b3e5e9 build.gradle.kts: added maven publishing and bintray upload 2019-09-28 11:53:38 +02:00
Karl Tauber
1ea9ac84dd FlatBorder: fixed javadoc error 2019-09-28 11:19:06 +02:00
Karl Tauber
0080e50d92 README.md: basic information and screenshots 2019-09-26 16:21:20 +02:00
Karl Tauber
29544cd926 Demo: added multi-line tooltip 2019-09-26 16:13:13 +02:00
Karl Tauber
fbfde043b3 ComboBox: made popup list wider if list item texts are longer than combo box width 2019-09-26 10:45:39 +02:00
Karl Tauber
84dc96d41a ComboBox: union padding and renderer border in popup list, which vertically aligns text in popup list with text in combobox 2019-09-26 10:27:51 +02:00
Karl Tauber
abe5b5cc08 ComboBox: add empty border to popup list renderer 2019-09-25 23:52:41 +02:00
Karl Tauber
d10b4694e6 travis: use OpenJDKs instead of OracleJDKs 2019-09-25 12:04:13 +02:00
Karl Tauber
cf268375f0 made gradlew executable 2019-09-25 11:55:42 +02:00
Karl Tauber
167276c975 enable Travis CI 2019-09-25 11:52:11 +02:00
Karl Tauber
95d6d68629 ComboBox: fixed vertical text alignment (with other components) and component height (when scaled) 2019-09-25 11:33:20 +02:00
Karl Tauber
d3ada57a50 UI inspector: show EmptyBorder insets 2019-09-25 11:17:17 +02:00
Karl Tauber
c782ed8adc UI inspector: show JMenuBar margins 2019-09-25 09:11:07 +02:00
Karl Tauber
c5ab5d636e added simple UI inspector to FlatTestFrame 2019-09-23 10:48:41 +02:00
Karl Tauber
e004401772 multi-line ToolTip 2019-09-21 18:12:58 +02:00
Karl Tauber
91f304054e Demo: support dark SVG icons 2019-09-18 13:20:07 +02:00
Karl Tauber
c4e0ef198f CheckBox: fixed background arc of checkmark 2019-09-18 11:53:00 +02:00
Karl Tauber
673dd67d41 update to Gradle 5.6.2
./gradlew wrapper --gradle-version=5.6.2
2019-09-16 09:53:18 +02:00
Karl Tauber
90af8c0ce8 Menus: scale defaultTextIconGap again if iconTextGap property has changed 2019-09-15 23:50:45 +02:00
Karl Tauber
b4b914de52 Label: scale iconTextGap 2019-09-15 23:14:30 +02:00
Karl Tauber
89b6a4e453 CheckBox and RadioButton: the icon size no longer includes the focusWidth and paints the outline focus border outside of the icon; this change makes sure that the check/radio icons are painted at the same position independent of the focusWidth 2019-09-15 23:05:15 +02:00
Karl Tauber
eff9c50571 Buttons: made iconTextGap configurable in properties files and scale it 2019-09-15 22:25:49 +02:00
Karl Tauber
bf03f57055 CheckBox and RadioButton: no longer extend Metal UI delegates 2019-09-15 18:59:08 +02:00
Karl Tauber
e7d1522434 FlatLaf: use constant for optional prefix 2019-09-15 16:57:09 +02:00
Karl Tauber
60d493d4ce Demo: improved layout of tabbed pane options 2019-09-15 16:55:27 +02:00
Karl Tauber
87e20375f0 Demo: added insets to ControlBar to avoid clipping of outline focus border 2019-09-15 11:32:45 +02:00
Karl Tauber
f939654309 Demo: OptionPanePanel: use EmptyBorder instead of null-border to make sure that it is not replaces when switching LaF 2019-09-15 11:23:08 +02:00
Karl Tauber
0015a48ceb SystemInfo: support larger maximum version numbers (was 255; now ‭65535‬) 2019-09-14 22:51:42 +02:00
Karl Tauber
af3367a119 Demo: register F9 key for Mac Aqua LaF; changed Fx keys for Metal and Nimbus 2019-09-14 22:36:51 +02:00