X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTRadioButton.java;h=685f1f484d752072d11eca248f997426a0070ce1;hb=a83fea2bae838f4b9bbf59ce3832e0e67be41378;hp=23663bb2c84d6ec0894d36bd033a3b47037711e8;hpb=34a42e784bf1238c6bb2847c52d7c841fcfdef5f;p=nikiroo-utils.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);