aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java
diff options
context:
space:
mode:
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);
}
/**