git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clean up threads and timers
[fanfix.git]
/
src
/
jexer
/
TRadioButton.java
diff --git
a/src/jexer/TRadioButton.java
b/src/jexer/TRadioButton.java
index 23663bb2c84d6ec0894d36bd033a3b47037711e8..685f1f484d752072d11eca248f997426a0070ce1 100644
(file)
--- 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);