mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
Panel: support painting background with rounded corners (issue #367)
FlatLineBorder: support rounded corners
This commit is contained in:
@@ -194,7 +194,7 @@ class FlatColorPipette
|
||||
|
||||
zoom = UIScale.scale( 16 );
|
||||
|
||||
getRootPane().setBorder( new FlatLineBorder( new Insets( 2, 2, 2, 2 ), Color.red, 2 ) );
|
||||
getRootPane().setBorder( new FlatLineBorder( new Insets( 2, 2, 2, 2 ), Color.red, 2, 0 ) );
|
||||
|
||||
view = new MagnifierView();
|
||||
view.setPreferredSize( new Dimension( pixels * zoom, pixels * zoom ) );
|
||||
|
||||
Reference in New Issue
Block a user