weisj
8725b204a0
Memory: Ensure UIUpdater doesn't prevent components from being garbage collected.
4 years ago
weisj
3457eeb694
Memory: Ensure shared static helpers don't prevent ui classes from being garbage collected.
4 years ago
weisj
e55440f468
StyleSheet: Remove border from table.
4 years ago
weisj
3f16eec70c
Fix theme properties not being displayed in the generated UITable.
...
Improve sorting of values.
4 years ago
weisj
b01ef6a2f2
Load base icon colors for high contrast themes to make sure all values are present.
4 years ago
weisj
ceec942be2
Unwrap StateIcon to avoid saving SVG icons as png.
4 years ago
weisj
ef97eff984
Provide global overwrite option for colored title bars on macOS.
4 years ago
weisj
0f00a91451
Use null for default accent/selection colors, to be consistent with how a theme would usually be constructed.
4 years ago
weisj
a8d9408757
Slider+Settings: Allow sliders to have their baseline at the height of the track.
4 years ago
weisj
72cc85aedb
Add method to determine whether a SettingsConfigurations behave the same at the time of calling the method.
4 years ago
weisj
c779761dde
SwingDSL: Provider more specific colors in DarklafComponentFactory.
4 years ago
weisj
36ecf9c677
Settings: Extract gluing logic between components into separate class. This allows for an easy implementation of custom layouts for the settings panel.
4 years ago
weisj
8ad14cc700
Tree: Consistently use special focus implementation.
4 years ago
weisj
7615b22c05
Focus: If no action is specified fall back to repainting the component.
4 years ago
weisj
3ff51442e1
Focus: Make focus parent mechanism available without having access to the FocusParentHelper class.
4 years ago
weisj
ec79c4dcf6
Decorations: Only call implementation methods when supported. This protects against scenarios where those methods are called regardless of the outcome of #isCustomDecorationSupported e.g. when uninstalling popup decorations.
4 years ago
weisj
03c715fe0b
DSL: Update coordinates and implement hyperlink click color.
4 years ago
weisj
06f010274b
Formatting: Fix violations
4 years ago
weisj
8c08640f04
Tree: Respect insets when making expanded rows visible.
4 years ago
weisj
9faec7ace4
Update gradle version
4 years ago
weisj
6abca5cdd5
Improve error messages when library loading fails during installation.
4 years ago
weisj
2a1983d0fc
Tree: Use background color of the tree as the non selected background if it has been specifically set by the user. Selection colors will still overwrite this behaviour.
4 years ago
weisj
40e18bc667
Remove unnecessary methods from UIAction.
4 years ago
weisj
e87e43c5f5
Build: Rename swingDsl to swingDsl.lafSupport for more clarity.
4 years ago
weisj
ce78423c33
Delegate getFocusAcceleratorKeyMask to getSystemMnemonicKeyMask in SwingUtilities2
4 years ago
weisj
db7d560871
Everywhere: Remove usage of internal API DefaultLookup.
4 years ago
weisj
9ee79f4329
Everywhere: Remove usage of internal API UIAction.
4 years ago
weisj
164a9f6b13
Everywhere: Remove calls to internal API SwingUtilities2::loc2IndexFileList.
4 years ago
weisj
23ea792664
Everywhere: Remove calls to internal API SwingUtilities2::tabbedPaneChangeFocusTo.
4 years ago
weisj
f8f12a0816
Everywhere: Remove calls to internal API SwingUtilities2::pointOutsidePrefSize.
4 years ago
weisj
e5a5bfda7f
Everywhere: Move calls to internal API SwingUtilities2::clipStringIfNecessary into SwingUtil.
4 years ago
weisj
4b11cc84b9
Everywhere: Move calls to internal API SwingUtilities2::setSkipClickCount to SwingUtil. Remove calls to internal API SwingUtilities2::setLeadAnchorWithoutSelection.
4 years ago
weisj
88cbd8a3a3
Everywhere: Remove calls to internal API SwingUtilities2::shouldIgnore.
4 years ago
weisj
1d7127adc8
Everywhere: Remove calls to internal API SwingUtilities2::drawHLine and SwingUtilities2::drawVLine.
4 years ago
weisj
75db998db6
Everywhere: Move calls to internal API SwingUtilities2::stringWidth into SwingUtil.
4 years ago
weisj
a265ef96b9
Everywhere: Move calls to internal API SwingUtilities2::drawStringUnderlineCharAt and SwingUtilities2::drawString into SwingUtil.
4 years ago
weisj
f60be2d722
Everywhere: Remove calls to internal API SwingUtilities2::getFontMetrics
4 years ago
weisj
4ef86deda0
Settings: If there is no theme currently available (due to no theme being registered) then we should fallback to the default theme offered by the LafManager
4 years ago
weisj
3c9056f29b
Prevent NPE when item to be rendered is null
4 years ago
weisj
5580656e79
Build: Update to Gradle 7
...
Upgrade gradle version to 7.0. Make use of typesafe project and library accessors. These replace the current bom project.
Handle different xCode version on macOS.
4 years ago
weisj
81ac979217
Update implementation of DarklafComponentFactory.
4 years ago
weisj
6406f4ac8a
Tree: Adhere to the default behaviour of left/right key navigation.
...
Navigating left should:
- Collapse the current hierarchy if the node is expanded.
- Select the parent node if existent and the current node is a leaf or not expanded
- Select the first root node otherwise.
Navigating right should:
- Expand the current node if it isn't a leaf.
- Navigate to the first child if the current node is expanded.
- Navigate to the next node otherwise (Darklaf addition)
This fixes #228
4 years ago
weisj
9fc4dc15ca
Demo: Add option to select all available installed Lafs.
4 years ago
weisj
3b5d390d3d
Swing-DSL: Update implementation to match latest changes.
4 years ago
weisj
9ee5b955b6
Fix style violations.
4 years ago
weisj
db9283d51a
SWING-DSL: Provide spacing hints for the swing-dsl library and set a ComponentFactory to provide darklaf specific components.
4 years ago
weisj
d6525b6a89
Tooltip: Replace hacky method of keeping a consistent shadow opacity with better approach.
...
Previously we checked whether the window of the tooltip could possibly be painted multiple times and then set a flag to prevent the shadow from being painted more than once. It is a lot easier to simply erase the background with a transparent color. This may also help with #233 .
4 years ago
weisj
8b3c2705c1
TextField: Include caret spacing in visible editor rect to avoid text shifting when the caret is at the start/end of the line.
4 years ago
weisj
75dacb7ade
QuickColorChooser: Provide spacing between checkbox and color label. This is done using an empty width space as the text of the checkbox.
4 years ago
weisj
436e7c13e3
Installation: Ensure installed theme is reported correctly at all time. We need to avoid to set the installed theme to eagerly as it may be requested during defaults initialisation, which would cause components to query an incorrect color.
4 years ago