Karl Tauber
8e77eb0519
Window decorations: support resizing window (issues #47 and #82 )
2020-06-06 12:20:33 +02:00
Karl Tauber
1fffc67d13
Window decorations: added border (issues #47 and #82 )
2020-06-02 17:49:30 +02:00
Karl Tauber
8500781cd5
Merge branch 'master' into branch 'custom-window-decorations'
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRootPaneUI.java
2020-06-02 16:13:35 +02:00
Karl Tauber
6a8bf2acc5
FlatInspector: fixed highlight figure bounds of windows; limit used inspection level to existing components
2020-06-02 16:07:11 +02:00
Karl Tauber
99c99b9218
Window decorations: support embedding menu bar into title pane (enabled by default) (issues #47 and #82 )
2020-05-31 14:10:58 +02:00
Karl Tauber
14ec6f6471
FlatInspector: increase/decrease inspection level with Ctrl/Shift keys
2020-05-30 17:35:54 +02:00
Karl Tauber
c4a1341aa9
FlatInspector:
...
- support ending inspection with ESC key
- inspect component at current mouse location when enabling inspector
2020-05-30 16:53:20 +02:00
Karl Tauber
fc68dfd7bc
FlatInspector: support inspecting whole window including menubar and custom window decoration
2020-05-30 15:19:07 +02:00
Karl Tauber
a560be11ed
InternalFrame: renamed FlatInternalFrameMinimizeIcon to FlatInternalFrameRestoreIcon; added some missing @uiDefault to internal frame icons
2020-05-28 11:50:34 +02:00
Karl Tauber
506a1e6b62
Window decorations: iconify/maximize/restore/close button icons in Windows 10 style (issues #47 and #82 )
2020-05-28 11:35:30 +02:00
Karl Tauber
626601f6aa
Window decorations: added window icon (issues #47 and #82 )
2020-05-27 11:40:41 +02:00
Karl Tauber
9ad32125c0
Window decorations: initial implementation (incomplete) (issues #47 and #82 )
...
TODO
- move window
- resize window
- window icon
- window border
2020-05-26 23:35:05 +02:00
Karl Tauber
5cef1f6730
Testing: added font size spinner to control bar; also support Ctrl+0, Ctrl++ and Ctrl+- to change font size
2020-05-24 15:26:07 +02:00
Karl Tauber
0abfb5922a
ComboBox: minimum width is now 72 pixels (was ~50 for non-editable and ~130 for editable comboboxes)
2020-05-23 22:25:18 +02:00
Karl Tauber
d2d4f73834
ScrollBar: use derived colors for track and thumb (issue #103 )
2020-05-23 16:40:09 +02:00
Karl Tauber
08c439b46e
ScrollBar: use rounded thumb on macOS (issue #103 )
2020-05-23 13:58:05 +02:00
Karl Tauber
934eb9fc1d
ScrollBar: use rounded thumb on Linux (issue #103 )
2020-05-23 13:51:25 +02:00
Karl Tauber
fd208a3879
ScrollBar: made styling more flexible by supporting insets and arc for track and thumb (issue #103 )
2020-05-23 13:32:31 +02:00
Karl Tauber
b36ac1b824
UI defaults: added GTKLookAndFeel dump made on Fedora 31 (Adweita theme)
2020-05-21 18:38:46 +02:00
Karl Tauber
2a0403a988
support CompoundBorder as component border with FlatBorder on the outside
2020-05-19 23:24:00 +02:00
Karl Tauber
f1c08e7769
FlatTestFrame: added Substance Business skin for testing light UI
2020-05-19 18:42:22 +02:00
Karl Tauber
571f028ca3
FlatComponentsTest: moved components that change something into own "control" panel
2020-05-19 11:31:52 +02:00
Karl Tauber
c11222b5c7
FlatHtmlTest: added more HTML samples
2020-05-17 22:50:40 +02:00
Karl Tauber
03bc6eb69b
FlatTestFrame: '2.0' --> '2'
2020-05-17 18:46:21 +02:00
Karl Tauber
1aa339de02
make component outline border wider if focus width is zero
2020-05-17 17:59:26 +02:00
Karl Tauber
531bb2a968
UIDefaultsDump: dump only differences for macOS
...
(to avoid the need for updating multiple dumps when changing UI defaults)
2020-05-17 17:52:12 +02:00
Karl Tauber
800dbf3ba9
support different component border colors to indicate errors, warnings or custom state (set client property JComponent.outline to error, warning or any java.awt.Color)
2020-05-17 13:43:19 +02:00
Karl Tauber
961fe38c7e
UIDefaultsDump: dump color functions
2020-05-16 22:25:23 +02:00
Karl Tauber
a76b02b828
fixed broken FlatTestLaf.properties
2020-05-16 14:19:41 +02:00
Karl Tauber
f632c355e8
FileChooser: scale file icons (issue #100 )
2020-05-16 11:03:40 +02:00
Karl Tauber
83fdeb7e0c
ComboBox, Spinner and TextField: support round border style (set client property JComponent.roundRect to true)
2020-05-15 13:38:45 +02:00
Karl Tauber
26c77b3118
Button, ComboBox, TextField and DatePicker UI delegates now get Component.focusWidth and Button.arc/Component.arc/TextComponent.arc from component border
2020-05-15 11:32:53 +02:00
Karl Tauber
b3e0b99e8d
Button and ToggleButton: support round button style (set client property JButton.buttonType to roundRect)
2020-05-13 11:45:01 +02:00
Karl Tauber
d3a70b8bb2
CheckBox and RadioButton: Opaque flag is no longer ignored when checkbox is used as table cell renderer (issue #77 )
...
this fix replaces/improves fix made in commit 3ba8133890
2020-05-12 22:35:05 +02:00
Karl Tauber
659ead903c
TextField: avoid garbage in corners if TextComponent.arc is set to a large value
2020-05-12 18:58:17 +02:00
Karl Tauber
0a0f834f23
Drop shadows:
...
- reworked drop shadows implementation to support 4-sided shadows
- use 4-sided shadow for internal frames
- made shadows configurable in UI defaults
- made shadows dark in dark themes
(issue #94 )
2020-05-10 15:38:50 +02:00
Karl Tauber
61c2fd8794
build.gradle.kts: use MigLayout 5.3-SNAPSHOT for better scaling
...
Demo: exclude module-info.class from fat JAR
2020-05-09 15:42:18 +02:00
Karl Tauber
0a181f6407
InternalFrame: added drop shadows (issue #94 )
...
also made borders of internal frames in dark themes darker
2020-05-07 00:07:02 +02:00
Karl Tauber
09cffc4340
UIDefaultsDump: avoid locale specific decimal separators in dumps
2020-05-05 18:53:31 +02:00
Karl Tauber
e79880d305
ToolTip: made border darker (to make it better and no longer paint disabled tips (issue #94 )
2020-05-05 18:44:54 +02:00
Karl Tauber
34266761d1
UIDefaultsDump: dump FlatLineBorder parameters because they may be specified in properties files
2020-05-05 16:34:30 +02:00
Karl Tauber
ac70342cb3
Menus: made check background margin smaller (issue #96 )
2020-05-05 13:56:41 +02:00
Karl Tauber
d2f16dcaf3
Menus:
...
- added 1px to menu item top and bottom margin
- changed gap between menu item icon and text from 4 to 6
- improved colors of checked menu items that have a icon
(issue #96 )
2020-05-05 12:31:33 +02:00
Karl Tauber
abcce2bf68
Table: fixed inconsistent table selection / move shortcuts (issue #95 )
2020-05-04 13:30:42 +02:00
Karl Tauber
f014e2473f
Menus: on Windows, releasing Alt key now activates the menu bar (issue #43 )
2020-05-04 10:57:10 +02:00
Karl Tauber
80981f7027
Demo: added "Extras" tab
2020-05-03 19:34:21 +02:00
Karl Tauber
a2541a9659
Menus: added gap between accelerator and arrow in menu items (issue #91 )
2020-05-02 19:16:33 +02:00
Karl Tauber
38eb914420
Mnemonics: scale underline; added mnemonic test app
...
FlatTestFrame: Metal Laf is now at F12 so that F10 is unused because F10 is a standard key to move focus to menu bar
2020-05-02 14:38:54 +02:00
Karl Tauber
5c0de9aa1c
macOS: Fixed NPE if using JMenuBar in JInternalFrame and macOS screen menu bar is enabled (issue #90 )
2020-04-30 13:38:23 +02:00
Karl Tauber
6fc216dff5
Menus: fixed text color of selected menu items that use HTML (issue #87 )
2020-04-29 19:22:09 +02:00