aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/layout/Margin.java2
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/Margin.java b/src/graphui/classes/com/jogamp/graph/ui/layout/Margin.java
index fde7217b6..240053cb5 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/layout/Margin.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/layout/Margin.java
@@ -68,7 +68,7 @@ public class Margin {
* Ctor w/ zero values
*/
public Margin() {
- top = 0f; right = 0f; bottom = 0f; left = 0f; bits = 0;
+ this(0f);
}
/**
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java b/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
index 1d5eca002..c0fac409c 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
@@ -48,7 +48,7 @@ public class Padding {
* Ctor w/ zero values
*/
public Padding() {
- top = 0f; right = 0f; bottom = 0f; left = 0f;
+ this(0f);
}
/**