aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-12-18 02:54:51 +0100
committerSven Gothel <sgothel@jausoft.com>2023-12-18 02:54:51 +0100
commitad8471401f7ca004df823f7f7436c2cbc4676195 (patch)
treedac6fad824e35e59599632e014b8677e58e11fd0 /src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
parent47061b4528953eea0632f04082013bf38f0fe863 (diff)
GraphUI Padding, Margin, Gap: Use zero value constant None instead of default ctor
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java b/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
index 8175a8daf..b89529420 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
@@ -80,7 +80,7 @@ public class GridLayout implements Group.Layout {
* @param alignment TODO
*/
public GridLayout(final int column_limit, final float cellWidth, final float cellHeight, final Alignment alignment) {
- this(alignment, Math.max(1, column_limit), -1, cellWidth, cellHeight, new Gap(), null);
+ this(alignment, Math.max(1, column_limit), -1, cellWidth, cellHeight, Gap.None, null);
}
/**
@@ -116,7 +116,7 @@ public class GridLayout implements Group.Layout {
* @param row_limit [1..inf)
*/
public GridLayout(final float cellWidth, final float cellHeight, final Alignment alignment, final int row_limit) {
- this(alignment, -1, Math.max(1, row_limit), cellWidth, cellHeight, new Gap(), null);
+ this(alignment, -1, Math.max(1, row_limit), cellWidth, cellHeight, Gap.None, null);
}
/**