Karl Tauber
1f8eaf4a64
JIDE: JideTabbedPane: fixed scroll and list buttons
2021-04-13 10:51:04 +02:00
Karl Tauber
46ac7a9dc7
IntelliJ Themes: fixed background colors of DesktopPane and DesktopIcon in all themes
2021-04-11 19:39:47 +02:00
Karl Tauber
0d86d39217
IntelliJ Themes: minor fixes to text in progress bars for some themes
2021-04-11 18:59:23 +02:00
Karl Tauber
1f591f3d1b
IntelliJ Themes: added "Material Theme UI Lite / GitHub Dark" theme
2021-04-11 17:42:57 +02:00
Karl Tauber
30c6ddba37
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2021-04-11 17:35:25 +02:00
Karl Tauber
406eeaec96
PopupFactory: fixed occasional NullPointerException in FlatPopupFactory.fixToolTipLocation() (issue #305 )
2021-04-11 16:00:36 +02:00
Karl Tauber
2fe5652bc6
DesktopPane: automatically layout icons in dock (without invoking from DesktopManager), which eliminates the need for FlatDesktopManager
2021-04-11 15:10:59 +02:00
Karl Tauber
39bf68a6bd
DesktopIcon: automatically update preview (without invoking from DesktopManager)
2021-04-11 14:58:20 +02:00
Karl Tauber
a7a4a19824
DesktopIcon: use derived color for icon background, based on background color of JDesktopPane
2021-04-11 14:48:19 +02:00
Karl Tauber
7f906ba0ea
DesktopPane: fixed empty minimized icon when switching LaF (regression since commit ab1ce7fab16597c518dd00a4c4e86320d98410c1; see PR #294 )
2021-04-10 15:53:45 +02:00
Karl Tauber
07bf6e4506
DesktopPane: on HiDPI screens, use high-resolution images for preview of iconified internal frames in dock
2021-04-10 14:36:46 +02:00
Karl Tauber
a331760321
DesktopPane: made private methods/fields protected to allow overriding
2021-04-10 13:36:44 +02:00
Karl Tauber
d9c240d729
DesktopPane: fixed incomplete minimized icon when switching LaF
2021-04-10 12:46:13 +02:00
Karl Tauber
d9526c19e7
DesktopPane: improved layout of iconified internal frames in dock
2021-04-10 12:39:26 +02:00
Karl Tauber
1798ccd284
Merge pull request #294 from lsimediasarl/main
...
Fixed JInternalFrame iconified content snapshot for already installed DesktopManager
2021-04-10 00:05:02 +02:00
Karl Tauber
ab1ce7fab1
DesktopPane: avoid using two instances of DefaultDesktopManager if a custom desktop manager is used/wrapped (see PR #294 )
2021-04-09 18:17:15 +02:00
DUDSS
e9b2f17171
FlatSVGIcon: Fixed an oversight
2021-04-09 13:41:08 +02:00
DUDSS
d3bf4433b7
FlatSVGIcon: Removed unnecessary getInstance method. Changed the demo a little and added a utility method to ColorFilter to easily create a brightness/contrast/alpha filter.
2021-04-09 13:36:49 +02:00
DUDSS
ba0f43455b
Reworked how the FlatSVGIcon filters work. Filters are now set using the ColorFilter class and can work globally too. Added related demo components to flatlaf-demo extras tab.
2021-04-09 13:36:49 +02:00
DUDSS
638af4bcd7
Added an option to specify an RGBImageFilter to a FlatSVGIcon
2021-04-09 13:36:48 +02:00
Karl Tauber
5eab843d97
Button and ToggleButton:
...
- updated CHANGELOG.md for #276
- FlatComponentsTest: use FlatButton and FlatToggleButton
- FlatButtonUI: avoid unnecessary reading client property if shadowColor is null, which is the case in most themes
2021-04-09 11:44:59 +02:00
Karl Tauber
c55f0e239e
Merge pull request #276 from ingokegel/border_less_button
...
Added ButtonType.borderLess
2021-04-09 11:17:11 +02:00
Ingo Kegel
32d9381745
Renamed borderLess to borderless
2021-04-08 22:36:42 +02:00
Karl Tauber
77fc564e70
TabbedPane: fixed actions scrollTabsForwardAction and scrollTabsBackwardAction when used from outside (e.g. in NetBeans)
2021-04-08 01:15:29 +02:00
Karl Tauber
3b84314c45
client/system properties: javadoc fixes
2021-04-07 16:25:24 +02:00
Karl Tauber
5729c20386
release 1.1.2
1.1.2
2021-04-07 11:53:18 +02:00
Karl Tauber
a4d70d8095
FlatTextComponentsTest: fixed compiler warnings (for previous commit)
2021-04-07 10:34:11 +02:00
Karl Tauber
8fcce349d5
ComboBox and Spinner: fixed too wide arrow button if component is higher than preferred (issue #302 )
2021-04-07 01:39:29 +02:00
Karl Tauber
5a94676a3a
Merge pull request #269 from SchiopuMatei/main
...
Added option for downscaling
2021-04-07 00:24:18 +02:00
Karl Tauber
f32d72ee62
UIScale:
...
- allow scale factors less than 100% for system property `flatlaf.uiScale`
- no longer round scale factor of system property `flatlaf.uiScale` to 1/4
- renamed system property `flatlaf.uiDowncale.enabled` to `flatlaf.uiScale.allowScaleDown`
- round smaller scale factors to 1/10
- absolute minimum user scale factor is now 0.1
2021-04-07 00:21:15 +02:00
Karl Tauber
e35fc8620c
JIDE: fixed null font in other Lafs if (wrongly) using LookAndFeelFactory.addUIDefaultsInitializer() or LookAndFeelFactory.addUIDefaultsCustomizer() (issue #288 )
2021-04-06 18:35:48 +02:00
Karl Tauber
277c288952
IntelliJ Themes: fixed system colors
2021-04-06 11:29:55 +02:00
Karl Tauber
240b08e55c
IntelliJ Themes: fixed window title bar background if unified background is enabled
2021-04-06 11:04:52 +02:00
Karl Tauber
fe7f345661
Native window decorations: support changing title bar background and foreground colors per window (via client property) also if unified window title bar is enabled
2021-04-06 10:46:28 +02:00
Karl Tauber
c8db01c958
SplitPane: fixed JSplitPane.setContinuousLayout(false) (issue #301 )
2021-04-05 14:24:49 +02:00
Karl Tauber
f456185f7d
Native window decorations: support changing title bar background and foreground colors per window (via client property)
2021-04-05 14:19:41 +02:00
Karl Tauber
801b555835
Window decorations: fixed random window title bar background for unified backgrounds in cases were background is not filled by custom window/rootpane components (issue #254 )
2021-04-04 11:47:15 +02:00
Karl Tauber
eee177e64b
Window decorations: enabling/disabling menu bar embedding via system and client properties now works the same way as for window decorations
...
(previously it was only possible to disable menu bar embedding)
2021-04-03 16:19:11 +02:00
Karl Tauber
63639f8e96
Native window decorations: cleaned-up/simplified JetBrains Runtime custom window decorations "enabled" checking:
...
- `FlatSystemProperties.USE_WINDOW_DECORATIONS` is now also used for JBR custom window decorations
- `FlatSystemProperties.USE_JETBRAINS_CUSTOM_DECORATIONS` is now only used to disable JBR custom window decorations; then FlatLaf native window decorations are used
- JBR custom window decorations are now disabled when running in JetBrains Projector, Webswing or WinPE
2021-04-03 13:32:46 +02:00
Karl Tauber
de1b0b1bb6
MenuBar: do not use TitlePane.unifiedBackground if window decorations are disabled for the window
2021-04-03 11:51:45 +02:00
Karl Tauber
bbdd7fc2b4
Demo:
...
- keep "Options > Window decorations" selected for JetBrains Runtime
- disable "Options > Use underline menu selection" on macOS
- added font size `11`
2021-04-03 11:49:57 +02:00
Karl Tauber
6addb5c4b4
Native window decorations:
...
- API to check whether current platform supports window decorations `FlatLaf.supportsNativeWindowDecorations()`
- API to toggle window decorations of all windows `FlatLaf.setUseNativeWindowDecorations(boolean)`
- `FlatClientProperties.USE_WINDOW_DECORATIONS` can now used to toggle window decorations for single window
- cleaned-up/fixed/simplified window decorations "enabled" checking:
1. if `FlatSystemProperties.USE_WINDOW_DECORATIONS` is set, its value is used
2. if `FlatClientProperties.USE_WINDOW_DECORATIONS` is set, its value is used
3. use value of UI default `TitlePane.useWindowDecorations`
2021-04-03 11:13:57 +02:00
Karl Tauber
b47e0c88d6
Merge pull request #298 from Bios-Marcel/fix-demo-menu-item-states
...
Fix selected states for native window border related menu items
2021-04-02 16:13:36 +02:00
Marcel Schramm
d06993d940
Add comment explaining why the use of JBR results in not having custom decorations
2021-04-01 22:14:39 +02:00
Karl Tauber
d31f167b9e
TabbedPane: fixed NPE when creating/modifying in another thread (issue #299 )
2021-04-01 12:35:50 +02:00
Karl Tauber
f12ee6c167
added dummy class to empty opend module packages
2021-04-01 09:40:22 +02:00
Karl Tauber
983b341f33
Native window decorations: fixed loading of native library when using JPMS for application (issue #289 )
2021-04-01 01:07:35 +02:00
Karl Tauber
f3e6642f05
Button and ToggleButton: simplified/unified code of FlatButtonUI.getBackground() (issue #292 )
2021-03-31 23:14:45 +02:00
Karl Tauber
0a63990d21
Button and ToggleButton: do not paint background of disabled (and unselected) toolBar buttons (issue #292 ; regression since fixing #112 )
2021-03-31 22:28:43 +02:00
Karl Tauber
6909bb4b03
Native window decorations: removed superfluous pixel-line at top of screen when window is maximized (issue #296 )
2021-03-31 20:56:17 +02:00