mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Styling: MenuItem: support styling acceleratorFont
Theme Editor: - support font keys in auto-completion - ignore Menu.acceleratorFont, CheckBoxMenuItem.acceleratorFont and RadioButtonMenuItem.acceleratorFont because they are never used (keep UI values for backward compatibility)
This commit is contained in:
@@ -193,9 +193,7 @@ class FlatCompletionProvider
|
||||
}
|
||||
|
||||
private boolean isIgnored( String key ) {
|
||||
return key.endsWith( ".font" ) ||
|
||||
key.endsWith( "Font" ) ||
|
||||
key.endsWith( "InputMap" );
|
||||
return key.endsWith( "InputMap" );
|
||||
}
|
||||
|
||||
private void setCompletions( Set<String> keys ) {
|
||||
|
||||
@@ -139,7 +139,6 @@ CheckBox.margin
|
||||
CheckBox.rollover
|
||||
CheckBox.textIconGap
|
||||
CheckBox.textShiftOffset
|
||||
CheckBoxMenuItem.acceleratorFont
|
||||
CheckBoxMenuItem.acceleratorForeground
|
||||
CheckBoxMenuItem.acceleratorSelectionForeground
|
||||
CheckBoxMenuItem.arrowIcon
|
||||
@@ -430,7 +429,6 @@ List.selectionInactiveForeground
|
||||
List.showCellFocusIndicator
|
||||
List.timeFactor
|
||||
ListUI
|
||||
Menu.acceleratorFont
|
||||
Menu.acceleratorForeground
|
||||
Menu.acceleratorSelectionForeground
|
||||
Menu.arrowIcon
|
||||
@@ -614,7 +612,6 @@ RadioButton.rollover
|
||||
RadioButton.shadow
|
||||
RadioButton.textIconGap
|
||||
RadioButton.textShiftOffset
|
||||
RadioButtonMenuItem.acceleratorFont
|
||||
RadioButtonMenuItem.acceleratorForeground
|
||||
RadioButtonMenuItem.acceleratorSelectionForeground
|
||||
RadioButtonMenuItem.arrowIcon
|
||||
|
||||
Reference in New Issue
Block a user