diff --git a/haxework/gui/TextView.hx b/haxework/gui/TextView.hx index 8c34604..7b6f867 100755 --- a/haxework/gui/TextView.hx +++ b/haxework/gui/TextView.hx @@ -139,8 +139,10 @@ class TextView extends SpriteView implements ITextView { var t:String = currentText(); if (t != null) textField.text = t; if (contentSize && !Std.is(skin, ISize)) { - width = textField.width; - height = textField.height; + width = textField.width + paddings * 2; + height = textField.height + paddings * 2; + textField.x = paddings; + textField.y = paddings; } else { if (fill) { textField.width = width - paddings * 2;