misc cleanup
[nikiroo-utils.git] / src / jexer / TRadioGroup.java
index c1b652352d1b4b36049be132fed9fa229d96382e..e2e24a33ddf232a226636214891bbf35e0b0329d 100644 (file)
@@ -84,13 +84,9 @@ public final class TRadioGroup extends TWidget {
         final String label) {
 
         // Set parent and window
-        super(parent);
+        super(parent, x, y, label.length() + 4, 2);
 
-        setX(x);
-        setY(y);
-        setHeight(2);
         this.label = label;
-        setWidth(label.length() + 4);
     }
 
     /**