X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTRadioButton.java;h=685f1f484d752072d11eca248f997426a0070ce1;hb=bb35d91958450cc7152d2063f1d6cd34c15e2a3d;hp=23663bb2c84d6ec0894d36bd033a3b47037711e8;hpb=00d2622b0fff2411dc81ee2a0cc43a5f3f52564c;p=fanfix.git diff --git a/src/jexer/TRadioButton.java b/src/jexer/TRadioButton.java index 23663bb..685f1f4 100644 --- a/src/jexer/TRadioButton.java +++ b/src/jexer/TRadioButton.java @@ -101,13 +101,9 @@ public final class TRadioButton extends TWidget { final String label, final int id) { // Set parent and window - super(parent); + super(parent, x, y, label.length() + 4, 1); - setX(x); - setY(y); - setHeight(1); this.label = label; - setWidth(label.length() + 4); this.id = id; setHasCursor(true);