-
-
Notifications
You must be signed in to change notification settings - Fork 314
Open
Description
Hi,
I have encountered a small issue with DateChoosePane
from jidesoft (payed version, not part of jide-oss), wenn using the flatlaf customizations from com.formdev.flatlaf-jide-oss
.
Flatlaf-jide-oss
introduces customizations for JideButton
:
JideButton.border = com.formdev.flatlaf.ui.FlatMarginBorder
[…]
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
[…]
The problem is, that JideButtons are used for displaying and selecting dates in the DateChooserPane. Due to using FlatMarginBorder and white-on-white background the selected date is not visible anymore.
Original, without including flatlaf-jide-oss:

When including flatlaf-jide-oss:

I was wondering, is there a reason you are using $Button.toolbar.hoverBackground
, instead of $Button.hoverBackground
(same for selected and pressed variants)?
Because when taking the styles from $Button directly, it looks somewhat acceptable, even without the border:

Metadata
Metadata
Assignees
Labels
No labels