Jannis Weis
509c1c0113
List: Allow rounded corners on selection background
2 years ago
Jannis Weis
ea9c3eaf0c
Demo: Add items to ListDemo to make scrollbars necessary
2 years ago
Jannis Weis
7c3e0e27eb
Windows: Use rounded corners for menu highlighting
2 years ago
Jannis Weis
6ef95565db
Menu: Collapse margins for toplevel menus
2 years ago
Jannis Weis
bcf853810e
Menu: Allow specifying margins for menubar
2 years ago
Jannis Weis
2f094edd47
Windows: Don't hardcode menubar layout adjustment
2 years ago
Jannis Weis
4d8b963774
Menu: Force minimum height for consistency
2 years ago
Jannis Weis
4bcf2937f3
Menu: Set rollover state for top level menus
2 years ago
Jannis Weis
0635b998cb
Menu: Respect margins on menu items
2 years ago
Jannis Weis
28a44ef978
Menu: Allow rendering the menu item background with rounded corners
2 years ago
Jannis Weis
cb2ab2f0e8
PopupMenu: Allow specifying margin
2 years ago
Jannis Weis
4e3d693783
Util: Remove unused methods
2 years ago
Jannis Weis
b085b846e7
Separator: Allow separators in PopupMenus to use margins
2 years ago
Jannis Weis
37344c7271
Menu: Rename useEvenHeight to forceOddMenuHeight
...
The name didn't reflect what it actually was used for.
2 years ago
Jannis Weis
88ce3c6bbf
Menu: Don't parse flags manually
...
Use the helper methods from PropertyUtil instead.
2 years ago
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
3 years ago
Jannis Weis
2112f3bba1
Prevent combobox for font prototypes from growing indefinitely
3 years ago
Jannis Weis
37e2f94ab4
Demos: Don't needlessly install themes if ThemeSettings already handle it
3 years ago
Jannis Weis
bf6ea57b2b
Adhere to ThemeSettings when installing Theme from event
3 years ago
Jannis Weis
27972b9bc5
Expose method to compute an effective PreferredThemeStyle adhering to the current ThemeSettings
3 years ago
Jannis Weis
8260064fbc
Reduce calls to ThemeSettings::save while saving
3 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