mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
IntelliJ Themes:
- Fixed too large menu item paddings and too large table/tree row heights (all "Material Theme UI Lite" themes; issue #667; regression in FlatLaf 3.1). - Fixed too large tree row height in "Carbon", "Dark Purple", "Gray", "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes.
This commit is contained in:
@@ -336,9 +336,14 @@ public class IntelliJTheme
|
||||
|
||||
uiKeys.add( key );
|
||||
|
||||
// fix ComboBox size and Spinner border in all Material UI Lite themes
|
||||
if( isMaterialUILite && (key.equals( "ComboBox.padding" ) || key.equals( "Spinner.border" )) )
|
||||
return; // ignore
|
||||
// ignore some properties that affect sizes
|
||||
if( key.endsWith( ".border" ) ||
|
||||
key.endsWith( ".rowHeight" ) ||
|
||||
key.equals( "ComboBox.padding" ) ||
|
||||
key.equals( "Spinner.padding" ) ||
|
||||
key.equals( "Tree.leftChildIndent" ) ||
|
||||
key.equals( "Tree.rightChildIndent" ) )
|
||||
return; // ignore
|
||||
|
||||
// map keys
|
||||
key = uiKeyMapping.getOrDefault( key, key );
|
||||
|
||||
Reference in New Issue
Block a user