mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-14 07:47:12 -06:00
JIDE: support JideButton and JideToggleButton
This commit is contained in:
@@ -16,11 +16,33 @@
|
||||
|
||||
#---- UI delegates ----
|
||||
|
||||
JideButtonUI = com.formdev.flatlaf.jideoss.ui.FlatJideButtonUI
|
||||
JidePopupMenuUI = com.formdev.flatlaf.jideoss.ui.FlatJidePopupMenuUI
|
||||
JideTabbedPaneUI = com.formdev.flatlaf.jideoss.ui.FlatJideTabbedPaneUI
|
||||
RangeSliderUI = com.formdev.flatlaf.jideoss.ui.FlatRangeSliderUI
|
||||
|
||||
|
||||
#---- JideButton and JideToggleButton ----
|
||||
|
||||
JideButton.border = com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
JideButton.margin = $Button.toolbar.margin
|
||||
JideButton.textIconGap = {scaledInteger}4
|
||||
|
||||
JideButton.background = $Button.background
|
||||
JideButton.foreground = $Button.foreground
|
||||
JideButton.focusedBackground = $Button.toolbar.hoverBackground
|
||||
JideButton.selectedBackground = $Button.toolbar.selectedBackground
|
||||
JideButton.selectedAndFocusedBackground = $Button.toolbar.pressedBackground
|
||||
JideButton.borderColor = $Button.borderColor
|
||||
|
||||
JideButton.shadow = $Button.borderColor
|
||||
JideButton.darkShadow = $Button.borderColor
|
||||
JideButton.light = $Button.borderColor
|
||||
JideButton.highlight = $Button.selectedBackground
|
||||
|
||||
Button.disabledForeground = $Button.disabledText
|
||||
|
||||
|
||||
#---- JidePopup ----
|
||||
|
||||
Resizable.resizeBorder = 4,4,4,4,$PopupMenu.borderColor
|
||||
|
||||
Reference in New Issue
Block a user