mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 15:27:16 -06:00
Styling: update MigLayout visual padding
This commit is contained in:
@@ -21,6 +21,7 @@ import java.awt.Insets;
|
|||||||
import java.beans.PropertyChangeListener;
|
import java.beans.PropertyChangeListener;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
import javax.swing.JComponent;
|
import javax.swing.JComponent;
|
||||||
|
import com.formdev.flatlaf.FlatClientProperties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Support for MigLayout visual paddings.
|
* Support for MigLayout visual paddings.
|
||||||
@@ -80,7 +81,7 @@ public class MigLayoutVisualPadding
|
|||||||
return new Insets( focusWidth, focusWidth, focusWidth, focusWidth );
|
return new Insets( focusWidth, focusWidth, focusWidth, focusWidth );
|
||||||
} else
|
} else
|
||||||
return null;
|
return null;
|
||||||
}, "border" );
|
}, "border", FlatClientProperties.STYLE );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user