Jannis Weis
4a36049ff6
Don't wrap border of spinner editors
...
If Spinner.editorBorderPainted is set to false (which it is by default in Darklaf)
we should avoid installing the MarginBorder to prevent recursive loops fighting
BasicSpinnerUI#maybeRemoveEditorBorder(JComponent)
2 years ago
Jannis Weis
6826164bc0
Clean up properties of button layout delegate
2 years ago
Jannis Weis
5e927c826a
Set NUMERIC_SHAPING on button layout delegate
2 years ago
Jannis Weis
9cb86508a4
Extract DarkPopupMenuUI.SizeLock into reusable class
2 years ago
Jannis Weis
cb93e431b5
Properly center top level menus
2 years ago
Jannis Weis
2112f3bba1
Prevent combobox for font prototypes from growing indefinitely
2 years ago
Jannis Weis
37e2f94ab4
Demos: Don't needlessly install themes if ThemeSettings already handle it
2 years ago
Jannis Weis
bf6ea57b2b
Adhere to ThemeSettings when installing Theme from event
2 years ago
Jannis Weis
27972b9bc5
Expose method to compute an effective PreferredThemeStyle adhering to the current ThemeSettings
2 years ago
Jannis Weis
8260064fbc
Reduce calls to ThemeSettings::save while saving
2 years ago
Jannis Weis
57411d725b
Windows: Wrap window pointers to enforce correct checking of NULL pointers
3 years ago
Jannis Weis
eba80e3f36
Button: Implicitly set isRequestFocusEnabled to false for borderless variants
3 years ago
Jannis Weis
6c875ec0d0
SplitButton: Respect JComponent#isRequestFocusEnabled
3 years ago
Jannis Weis
c89d617612
Button: Draw focus border for borderless variant
3 years ago
Jannis Weis
0f5b2b3093
Use ButtonConstants instead of DarkButtonUI for constants access
3 years ago
Jannis Weis
ef4deb1e8b
Avoid shadowing class variables
3 years ago
Jannis Weis
e3332fc912
Replace Icons.image.* properties with direct references to palette
3 years ago
Jannis Weis
48076a90eb
Reimplement UIUpdater in terms of DynamicUI
...
This way the UIUpdater gets called for third party lafs.
3 years ago
Jannis Weis
b979a36c7f
Attribute focus of currently open popupmenu to the invoker
3 years ago
Jannis Weis
1b19c70e56
Expose hidden title property in dev menu of demos
3 years ago
Jannis Weis
5f3176bbc1
Remove debug println
3 years ago
Jannis Weis
1f99a65ed3
Only create transition image for windows with nonzero size
3 years ago
Jannis Weis
652ecf11ca
Rename propertyChangeListener to avoid shadowing field name from superclass
3 years ago
Jannis Weis
d7d08139ab
Update OverlayRSyntaxScrollPane to demonstrate scrollbar background painters
3 years ago
Jannis Weis
e9a350268b
ScrollBar: Allow specifying a background painter
...
This can be used to draw a custom background on scrollbars e.g.
for markers for text content inside the scroll pane.
3 years ago
Jannis Weis
48af720e7d
Move implementation of decorations into platform-decorations
3 years ago
Jannis Weis
a1a55db222
Extract decorations related constants into interface
3 years ago
Jannis Weis
aceed0cdd3
Move decorations related classes into platform-base
3 years ago
Jannis Weis
96c900e621
Appease ErrorProne by replacing the mutable enum with a static class
3 years ago
Jannis Weis
989e802ff0
Allow settings the FontPrototype through ThemeSettings.
3 years ago
Jannis Weis
f9e35e6af1
ComboBox: Fix randomly incorrect background color
3 years ago
Jannis Weis
a52bc3bc5d
Add FontPrototype to Theme
...
This allows a theme to change the base font of the UI.
We expose also expose this property through the settings ui.
3 years ago
Jannis Weis
ee23a51dea
Use better looking default font for asian scripts on Windows
3 years ago
Jannis Weis
eb2948666c
Avoid infinite loop in AttachedPopupComponent#getBackground
3 years ago
Jannis Weis
9fe501bcc3
Actually try screen bounds instead of window bounds in second pass
3 years ago
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