diff options
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/shapes/Button.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/Button.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/Button.java index ec07d7c4a..dfc17c2f7 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/shapes/Button.java +++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/Button.java @@ -149,8 +149,10 @@ public class Button extends BaseButton { } final AABBox lbox2 = label.addShapeToRegion(lScale, region, ltxy, tempT1, tempT2, tempT3); + box.resize(lbox2); if( DEBUG_DRAW ) { System.err.printf("Button.X: lbox2 %s%n", lbox2); + System.err.printf("Button.X: shape %s%n", box); } } |