Karl Tauber
b49eff348d
Linux: support KDE ( #2 )
...
The Swing fonts are not updated when the user changes system font size (System Settings > Fonts > Force Font DPI). A application restart is necessary. This is the same behavior as in native KDE applications.
tested on Kubuntu 19.04
2019-10-13 17:48:46 +02:00
Karl Tauber
42d801f123
Linux:
...
- allow user scaling mode on Linux even if running in Java 9+
- update fonts (and scaling) when user changes text size or scaling in Gnome settings
(#1 )
2019-10-13 14:15:37 +02:00
Karl Tauber
5e33182de3
Windows: update fonts (and scaling) when user changes Windows text size
2019-10-12 20:14:18 +02:00
Karl Tauber
012d86066d
UI inspector: fixed NPE and use anti-aliasing for painting line border on Java 9+ for better results when scaled
2019-10-12 13:43:43 +02:00
Karl Tauber
ff510095a3
UIScale: renamed some methods (to avoid confusion)
2019-10-12 13:42:05 +02:00
Karl Tauber
10283d022f
Linux: initialize font ( #2 )
2019-10-12 10:44:11 +02:00
Karl Tauber
87845fc6f5
added Flat*Laf.install() methods
2019-10-10 10:34:40 +02:00
Karl Tauber
49a574a8d7
macOS: use native screen menu bar if system property apple.laf.useScreenMenuBar is true
2019-10-08 23:41:51 +02:00
Karl Tauber
230bc28ddd
changed Maven groupId to com.formdev and artifactId to flatlaf
2019-10-08 13:25:59 +02:00
Karl Tauber
8806cc8e93
Button: changed styling of default button in "Flat Light" theme (wide blue border instead of blue background)
2019-10-05 14:58:49 +02:00
Karl Tauber
2da0ca736f
hide label, button and tab mnemonics by default and show them only when Alt is pressed ( closes #4 )
2019-10-05 11:46:22 +02:00
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
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
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
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
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
c4e0ef198f
CheckBox: fixed background arc of checkmark
2019-09-18 11:53:00 +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
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
Karl Tauber
f7c8028243
List: fixed endless repainting if table is not focused
2019-09-14 22:19:42 +02:00
Karl Tauber
76f80b6bdf
Table: fixed endless repainting if table is not focused
2019-09-14 22:18:17 +02:00