mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
Separator: fixed scaling of preferred size
This commit is contained in:
@@ -59,6 +59,6 @@ public class FlatSeparatorUI
|
||||
if( ((JSeparator) c).getOrientation() == JSeparator.VERTICAL )
|
||||
return new Dimension( scale( WIDTH ), 0 );
|
||||
else
|
||||
return new Dimension( 0, WIDTH );
|
||||
return new Dimension( 0, scale( WIDTH ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user