Skip to content

Globals

weisj edited this page Oct 27, 2020 · 3 revisions

Global overwrite values

Some properties can be changed simply by setting the according system property

System.setProperty(key, value)
Key Values Effect Default Value Corresponding property in UIManager
darklaf.decorations true, false Enables or disables custom decorations. true -
darklaf.allowNativeCode true, false This determines whether it's allowed to load native libraries. This implicitly sets darklaf.decorations = false and disables theme monitoring as those features rely the native libraries. true -
darklaf.tableBooleanRenderer true, false Sets whether boolean values in tables should be rendered using a checkbox. true Table.renderBooleanAsCheckBox
darklaf.treeBooleanRenderer true, false Sets whether boolean values in trees should be rendered using a checkbox. true Tree.renderBooleanAsCheckBox
darklaf.roundedSelection true, false Sets whether selections should be painted with rounded corners true TextComponent.roundedSelection
darklaf.borderlessIconButtons true, false If true buttons that are not focusable and contain no text are converted to the borderless variant. See Properties/JButtonhttps://github.com/weisJ/darklaf/wiki/Properties#jbutton. true Button.convertIconOnlyToBorderless
darklaf.treeLineStyle line, dashed, none Sets the default style for tree lines. See Properties/JTree. line Tree.defaultLineStyle
darklaf.spDividerStyle grip, gripBorderless, line, invisible Sets the default style for splitpane dividers. See Properties/JSplitPane. grip SplitPane.defaultDividerStyle
darklaf.treeRowPopup true, false If enabled the full width of a tree row will be displayed in a popup if obscured true Tree.showFullRowInPopup
darklaf.tooltipStyle plain, balloon, plain_balloon The default style of tooltips. See Properties/JToolTip plain ToolTip.defaultStyle
darklaf.unifiedMenuBar true, false If enabled the menubar will be joined with the titlebar (Windows only) true TitlePane.unifiedMenuBar
darklaf.animations true, false enabled or disables all animations true ToggleButton.animated, ScrollBar.animated, Tree.iconAnimations
Clone this wiki locally