X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTText.java;h=6d2fe27faaf6e3ae9652761acd52e9c7ea8d1830;hb=a83fea2bae838f4b9bbf59ce3832e0e67be41378;hp=1f1359fb01cd2e40afec8165616e0d1e1df32ba2;hpb=34a42e784bf1238c6bb2847c52d7c841fcfdef5f;p=nikiroo-utils.git diff --git a/src/jexer/TText.java b/src/jexer/TText.java index 1f1359f..6d2fe27 100644 --- a/src/jexer/TText.java +++ b/src/jexer/TText.java @@ -243,12 +243,8 @@ public final class TText extends TWidget { final int y, final int width, final int height, final String colorKey) { // Set parent and window - super(parent); + super(parent, x, y, width, height); - setX(x); - setY(y); - setWidth(width); - setHeight(height); this.text = text; this.colorKey = colorKey;