summaryrefslogtreecommitdiff
path: root/src/widget_textfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget_textfield.c')
-rw-r--r--src/widget_textfield.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget_textfield.c b/src/widget_textfield.c
index 5c125d7..8e8c229 100644
--- a/src/widget_textfield.c
+++ b/src/widget_textfield.c
@@ -106,6 +106,7 @@ static void readKey(widget_textfield_t *p)
{
p->time = WIDGET_TEXTFIELD_TIME_READ_KEY;
p->text[len-1]='\0';
+ getTextSize(p->text, &p->w, &p->h);
}
return;