Jannis Weis
2bbd3544e9
Add stub properties so the file isn't empty without license header
3 years ago
Jannis Weis
fcfa4b33ab
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
Jannis Weis
33b8203fb1
ScrollBar: Make minimum width/height of scrollbar twice as large as smaller axis.
...
This makes it easier to grab the scrollbar for large viewports.
3 years ago
Jannis Weis
e83dc41510
ScrollBar: Remove remains of macOS specific implementation
3 years ago
Jannis Weis
dd3b542781
Remove usage of java.applet.Applet and java.security.*
...
Both are scheduled for removal and only occur because
the respective code replicates JDK classes. All occurrences
aren't strictly necessary hence can be removed.
3 years ago
Jannis Weis
df03d31e43
Windows: Set correct value for isWindows11 in SystemInfo through native code
...
Currently, the JDK doesn't correctly report the current operating system.
For now, we query the value ourselves using native code. This will be updated
once the JDK backport is available:
https://bugs.openjdk.java.net/browse/JDK-8274840
3 years ago
Jannis Weis
4c28099ec9
ScrollBar: Use rounded scrollbars on Windows 11
3 years ago
Jannis Weis
abcdb9b573
Build: Update nullabilityAnnotations to version 23.0.0
3 years ago
Jannis Weis
25618d5fa7
Setup dependency catalog in settings.gradle.kts
...
This allows us to move the dependency versions back into
gradle.properties so version for plugins and dependencies are declared
in a centralized way.
This commit also removes the legacy macOS framework dependencies.
3 years ago
Jannis Weis
02a15f1351
Rename isWindows10 to isWindows10OrGreater
...
This value does report true for Windows 11 and should indicate this in its name.
3 years ago
Jannis Weis
f7f2629dc2
Build: Update Gradle to version 7.3.3
3 years ago
weisj
e9625ce62d
Resources: Include resources for basic/metal laf bundles
...
Fixes #289
3 years ago
weisj
e6227eb36a
Settings: Remove unused function parameter
3 years ago
weisj
23f7c94d2b
Remove debug print statement
3 years ago
weisj
ff845c4823
Installation: Reserve needed space for UIDefaults.
3 years ago
weisj
88e8bf8b87
Settings: Issue warning if theme is reinstalled unnecessarily
3 years ago
weisj
32158feb37
Settings: Ensure system settings are respected regardless off the SettingsConfiguration implementation
...
Fixes #286
3 years ago
weisj
8ea60bd204
Settings: Eagerly install theme if invoked on the UI thread.
3 years ago
weisj
530fcc305a
Allow changing some parameters of the Animator
3 years ago
weisj
8cf1d0eac6
Replace tree expansion animator with a new animator implementation
3 years ago
weisj
56dcca7a1e
Replace Animator with an easier to use version
...
The new version provides an easier and more versatile API. The old one still remains
available as some uis rely on some more involved quirks of the old implementation.
However, the new and old version share the same animation thread.
3 years ago
weisj
916859275d
Fix formatting issues
3 years ago
weisj
cd83796dfc
Borders: Implement VisualPaddingProvider for MarginBorderWrapper
...
Depending on whether the outer border implements VisualPaddingsProvider we return its value.
Otherwise just return empty insets.
3 years ago
weisj
4904d3c8ae
Popup [Linux]: Fix content not being rendered with double buffering disabled on Java 8.
...
The fix for non-transparent tooltips on X11 surfaces involved disabling double buffering
for the component hierarchy. Somehow this doesn't seem to work on Java 8. Luckily it is
a version where we are free to apply the reflection hack to fix it.
This fixes #274
3 years ago
weisj
11fe4b55d2
ScrollBar: Parametrize scrollBarListener
3 years ago
weisj
c7ddc1d448
Tree: Ensure animation is stopped when uninstalling
...
Fixes #275
3 years ago
weisj
c6a36374ab
Settings: Replace smaller/larger text with icons
...
In some languages the labels would overlap. Using icons solves this issue as only
the default font size is marked with the text.
Fixes #269
3 years ago
Z3R0x24
11a512f025
Update theme_settings_es.properties
3 years ago
Z3R0x24
e1971ff0e3
Update darklaf_es.properties
3 years ago
weisj
f653237b89
Demo: Allow simulating another operating system
...
This only changes os specific properties supplied by the Theme.
It won't load the os dependent base laf or decorations provider
as they generally won't be available. Also some properties
may be different from the platform default as they are set the
first time the laf is installed.
3 years ago
weisj
b57d03d1ea
Fixup
3 years ago
weisj
ca35e6ca67
Decorations: Remove DecorationsProvider#adjustWindowInsets
...
It was only used on Windows, where it is currently always
an effective no-op as the insets were adjusted by zero
values. In fact with non-zero adjustments the result was
an incorrectly sized window.
3 years ago
weisj
bd53c0b724
ColoredRadioButton: Fix use own copy of focusColor
...
Using the focusColor variable from the parent class
breaks assumptions about when the value is able to
change.
3 years ago
weisj
4155b6d2cd
Fix invalid html
3 years ago
weisj
4b1b674a3f
Everywhere: Remove invalid override annotations
3 years ago
weisj
8afe4665fd
Code Style: Fix violations
3 years ago
weisj
7d6a35407f
Tooltip: Respect original clip bounds
...
This avoids some scenarios where the shadow would be painted
multiple times without erasing the background first,
resulting in increased opacity.
3 years ago
weisj
470162a700
Everywhere: Don't leave catch blocks empty
3 years ago
weisj
2de6417111
Everywhere: Don't #printStacktrace in catch blocks
3 years ago
weisj
c8eb4ea1d5
List: Make argument order explicit
3 years ago
weisj
d676e20240
Replace HashTable with LinkedHashMap
3 years ago
weisj
eaae0d17b2
Replace LinkedList with ArrayList
3 years ago
weisj
ef9d4f55e0
Everywhere: Address errorprone warnings
3 years ago
weisj
0a90720a3b
Make fallthrough explicit
3 years ago
weisj
c51f58379b
ComboBox: Make narrowing conversion explicit
3 years ago
weisj
06e4b32a6f
Everywhere: Allow subclasses in #equals implementations
3 years ago
weisj
833ee1b021
TabFrame: Handle missing switch cases
3 years ago