Jannis Weis
6c6fdadb54
Make it possible to use absolute positions as a fallback for tooltips
3 years ago
Jannis Weis
631d041038
Increase titlebar font size
3 years ago
Jannis Weis
ff34a3ed0c
Move jdk resource bundles to resource folder
...
Otherwise, they can't be located when running on the module path because
we don't export the package they previously resided in.
While we're at it, we move all resource bundles into a common location.
Fixes #289
3 years ago
Jannis Weis
2de68b514d
Demos: Convert FileChooserDemo to proper demo
3 years ago
Jannis Weis
b691cc0d22
Demos: Don't deadlock while instantiating a demo on the UI thread
3 years ago
Jannis Weis
887f4cb54a
Remove debug logging
3 years ago
Jannis Weis
5133f18d8a
Fonts: Allow setting a font prototype for the font which all fonts will be based off.
3 years ago
Jannis Weis
34f3815046
Settings: Ensure the settings dialog responds to locale changes
3 years ago
Jannis Weis
dcb94bba42
Update comment about having to disable reporting before program exit
3 years ago
Jannis Weis
3180dfbc75
RootPane: Don't paint any border on operating systems with rounded corners
...
The corner would look weird as the border is painted as a rectangle.
Fixes #306
3 years ago
Jannis Weis
ef54362467
RootPane: Combine all border keys into one
...
They were all the same anyway.
3 years ago
Jannis Weis
92e61ac97e
Make sound.svg available in iconset
3 years ago
Jannis Weis
bcdc2f6990
Fix code style
3 years ago
Jannis Weis
a9be53454f
Tests: Fix compilation errors
3 years ago
Jannis Weis
99833fcd04
Make platform.preferences usable as a standalone module
3 years ago
Jannis Weis
fa442a8bd3
Remove darklaf.properties dependency from windows and mac module
3 years ago
Jannis Weis
63c5a1b836
Extract system preference reporting mechanism to own module
...
To do this the following restructuring is performed:
- Move decorations specific classes to darklaf-platform-decorations
- Move SystemInfo to darklaf-platform-base
- Move theme specification specific classes to darklaf-theme-spec
- Create new module darklaf-platform-preferences for the reporting related classes
3 years ago
Jannis Weis
5f69904a22
Remove refactoring artifacts
3 years ago
Anticleiades
a439cd254a
Correct Italian translations
3 years ago
Anticleiades
b0976c04b7
Fix glitches occurring while resizing JFrame, by adding the missing "control" global property
3 years ago
Jannis Weis
e722048341
TabFrame: Add method to add custom buttons to the popup header
...
Managing the style of the header for buttons is non-trivial, so
we have the UI expose an api to create matching styled button for
the user.
3 years ago
Jannis Weis
1cc12259bd
Remove debug print statement
3 years ago
Jannis Weis
e40947b057
Build: Ensure test executions are patched to use module path
3 years ago
Xujiayao
a064098869
Correct Chinese and Japanese translations and add theme_settings translations for both languages
3 years ago
Jannis Weis
3e6672ca9b
Improve automatic tooltip alignment
...
Use a better guess for the initial alignment than always using SOUTH.
3 years ago
Jannis Weis
6e6cff98a2
Check that demos are running on the module path
3 years ago
Jannis Weis
59d3be81bc
Filter duplicate icons
3 years ago
Jannis Weis
d068d95675
Demo: Rename AllIcons to AllUIconsDemo
...
This avoids confusion with the AllIcons accessor class.
3 years ago
Jannis Weis
2ec19dbafd
Test: Start index counting from 1 for output
3 years ago
Jannis Weis
1cc0cd20f0
Build: Automatically patch execution tasks to run on module path
3 years ago
Jannis Weis
2ef0cb79be
Ignore space of shadow when aligning tooltip border
...
Relates to #298
3 years ago
Jannis Weis
ff44d37d16
Use background of component instead of first opaque parent
...
Fixes #298
3 years ago
Jannis Weis
b43107e46f
Tests: Ensure tests fail when an exception occurs during setup
3 years ago
Jannis Weis
7d8122fb73
Tests: Wait for demo window reference to be set
...
This should resolve flaky tests due to race conditions
3 years ago
Jannis Weis
212b006718
Increase tooltip border radius on macOS and Windows 11
3 years ago
Jannis Weis
37de65ddca
Properly display the background of popup components
3 years ago
Jannis Weis
b71d3c8019
Reduce overhead of painting balloon tooltip background
...
Instead of calculating the area loop over all parts (the round rect and triangle)
to fill.
3 years ago
Jannis Weis
0057e83b5c
Simplify and improve DropShadowBorder
...
We always displayed all shadows anyway so no need for the extra complexity.
Also, properly handle the corner radius property.
3 years ago
Jannis Weis
e2277918c6
Restore previous Laf when creating the base laf
...
When we instantiate a Darklaf we have to create the base laf.
For macOS this may require us to install the system laf in the
UIManager. We should restore it the way we found it to ensure
no surprises if one instantiates Darklaf without trying to install
it directly afterwards. Because this makes the instantiation heavier
we skip the restoring if we know we are installing the laf directly
afterwards e.g. when installing through the LafManager.
3 years ago
weisj
6025ebd4e8
Documentation: Increase resolution of preview images
3 years ago
weisj
aa88be95f8
Only load icons of colored radiobutton once
...
With the jsvg icon implementation we can directly modify
the property map and spare us the manual patching.
3 years ago
weisj
d24e3ba741
Icons: Replace svgSalamander with JSVG
3 years ago
weisj
8019e61d50
Demo: Only use files which have an svg extension
...
We need to require the dot or else we might try to load a folder as an icon.
3 years ago
Jannis Weis
6f72d285f3
Format svg files
3 years ago
Jannis Weis
52d0d13282
Fix license header year ranges
3 years ago
Jannis Weis
7f61291a25
Add stub properties so the file isn't empty without license header
3 years ago
Jannis Weis
0e5fae7d07
Remove unused image resource
3 years ago
Jannis Weis
3cd53e143a
ScrollBar + Windows: Hide scrollbars by default on Windows 11
3 years ago
Jannis Weis
7cf80c29d1
ScrollBar: Hide rounded scrollbar if thumb is empty.
...
If a theme decides to make the minimized scrollbar be size
0 it should be completely hidden.
3 years ago
Jannis Weis
c692eebf25
ScrollBar: Increase size of minimized scrollbar
...
The minimized scrollbar should still indicate that it exists.
3 years ago