SwingX: update fonts in JXHeader, JXMonthView, JXTaskPane and JXTitledPanel when changing default font

This commit is contained in:
Karl Tauber
2022-12-01 12:51:19 +01:00
parent 04f1f5921d
commit 9fef2f9d05
3 changed files with 15 additions and 4 deletions

View File

@@ -35,11 +35,23 @@ ColumnControlButton.actionIcon = com.formdev.flatlaf.swingx.icons.FlatColumnCont
JXDatePicker.border = com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder
#---- Header ----
JXHeader.titleFont = +bold
JXHeader.descriptionFont = +0
#---- MonthView ----
JXMonthView.monthDownFileName = {icon}com.formdev.flatlaf.swingx.ui.FlatMonthDownIcon
JXMonthView.monthUpFileName = {icon}com.formdev.flatlaf.swingx.ui.FlatMonthUpIcon
JXMonthView.todayColor = @foreground
JXMonthView.font = +0
#---- TaskPane ----
TaskPane.font = +bold
#---- TitledPanel ----
@@ -48,6 +60,7 @@ JXTitledPanel.borderColor = $Button.borderColor
JXTitledPanel.titleBackground = $TaskPane.titleBackgroundGradientStart
JXTitledPanel.titleForeground = $TaskPane.titleForeground
JXTitledPanel.captionInsets = 4,10,4,10
JXTitledPanel.titleFont = +bold
#---- SearchField ----