mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03: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:
@@ -1,6 +1,15 @@
|
||||
FlatLaf Change Log
|
||||
==================
|
||||
|
||||
## 3.1.1-SNAPSHOT
|
||||
|
||||
- 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.
|
||||
|
||||
|
||||
## 3.1
|
||||
|
||||
#### New features and improvements
|
||||
|
||||
@@ -336,8 +336,13 @@ 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" )) )
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user