1057 Commits (95be88027b1abe81bcf60692ab73f25f973b1ebc)

Author SHA1 Message Date
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 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. 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. 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
weisj cd2e4747af
LafInstallation: Add theme transition animation when installing the laf using the LafManager. This can be disabled by setting the "darklaf.animatedLafChange" system property to false. 4 years ago
weisj ddf6105e57
Util: Add convenience method for checking system flags. 4 years ago
weisj 27b04c9673
Util: Move GraphicsUtil to util module. 4 years ago
weisj 2dab2013bf
Util: Remove unused methods. 4 years ago
weisj b077e3f741
CellHintPopup: Ensure component are children of their respective cell containers/renderer panes, when calculating their preferred/minimum size or during painting. 4 years ago
weisj 53ebf4e2ae
RootPane: Added logging for size calculations. 4 years ago
weisj 29fe87541e
Tooltip: Make use of BufferedImage#getSubImage. Also decrease the shadow opacity for light themes. 4 years ago
weisj 8d94f3b1cf
Tooltip: Consider top shadow when aligning tooltip pointer to bottom of target rectangle. 4 years ago
weisj c757ee5e0c
Logging: Deprecate LafManager#enableLogging as it may overwrite any set LogLevel. The preferred method is LafManager#setLogLevel. 4 years ago
weisj 2ca2c738d7
Tooltip: Remove unused variable. 4 years ago
weisj 48130902cc
TextField: Pass component to the icon being painted. 4 years ago
weisj c926b91793
Tooltip: Remove debug painting. 4 years ago
weisj 4e5e6deb68
NumberingPane: Prioritise right before left padding when calculating the number offset. 4 years ago
weisj 7d9e7d73b7
Update year in LICENSE. 4 years ago
weisj cbf0260358
Tooltip: Correct shadow size insets for top alignment. 4 years ago
weisj fe4071d8ba
Disable double buffering for cellhint popup renderer. Fixes #232 4 years ago
weisj f161b369ec
Mark more log statements as level=Finer. 4 years ago
weisj 61706f56b0
Add option to specify the size of the icons displayed in the combobox and center them. 4 years ago
weisj 7bf7030ee5
Move tooltip position adjustments to the border itself. 4 years ago
weisj 4873f9b4b0
Reformat ternary operator. 4 years ago
weisj 86d1c314f0
Respect top tooltip shadow when adjusting the tooltip position for the pointer location. 4 years ago
weisj 770be706c0
Specify correct size in revert icons. 4 years ago
weisj f691249ae9
Explicitly make settings the tooltip of an AttachedPopupComponent a no-op. 4 years ago
weisj 4b0c5fde66
Avoid filtering icons. 4 years ago
weisj 09083f0bfb
Introduce string literal syntax and load some icon colors trough deferred property resolution at patch time. 4 years ago
weisj 7df17a9abc
Extract listener setup 4 years ago
weisj bd87d6e84e
Make sure textfield icons are painted using antialiasing. 4 years ago
weisj 83551ef37b
Move GraphicsUtil methods into GraphicsContext as members. 4 years ago
weisj f2420fb789
Revert last two commits. Using the fallback key actually does nothing. 4 years ago
weisj 68ca38ddeb
Don't overwrite TitlePane.unifiedMenuBar once it is set. 4 years ago
weisj 5879d5089d
Don't overwrite macos.coloredTitleBar once it is set. 4 years ago
weisj a52cb110ce
Properly align numbering. 4 years ago
weisj d9b0de52a2
Only replace default fonts i.e. logical Dialog fonts. 4 years ago
weisj 71276cae1f
Fix font names. Monospace -> Monospaced 4 years ago