mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Demo: OptionPanePanel: use EmptyBorder instead of null-border to make sure that it is not replaces when switching LaF
This commit is contained in:
@@ -83,7 +83,7 @@ class OptionPanePanel
|
||||
OptionPanePanel.ShowDialogLinkLabel customShowDialogLabel = new OptionPanePanel.ShowDialogLinkLabel();
|
||||
|
||||
//======== this ========
|
||||
setBorder(null);
|
||||
setBorder(BorderFactory.createEmptyBorder());
|
||||
|
||||
//======== panel9 ========
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ new FormModel {
|
||||
}
|
||||
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
|
||||
name: "this"
|
||||
"border": sfield com.jformdesigner.model.FormObject NULL_VALUE
|
||||
"border": new javax.swing.border.EmptyBorder( 0, 0, 0, 0 )
|
||||
add( new FormContainer( "com.formdev.flatlaf.demo.ScrollablePanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$layoutConstraints": "flowy,hidemode 3"
|
||||
"$columnConstraints": "[][][fill]"
|
||||
|
||||
Reference in New Issue
Block a user