diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 2f0fa064..9b36b057 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -121,6 +121,9 @@ void init_InputWidget(iInputWidget *d, size_t maxLen) { | |||
121 | setMaxLen_InputWidget(d, maxLen); | 121 | setMaxLen_InputWidget(d, maxLen); |
122 | /* Caller must arrange the width, but the height is fixed. */ | 122 | /* Caller must arrange the width, but the height is fixed. */ |
123 | w->rect.size.y = lineHeight_Text(default_FontId) + 2 * gap_UI; | 123 | w->rect.size.y = lineHeight_Text(default_FontId) + 2 * gap_UI; |
124 | #if defined (iPlatformAppleMobile) | ||
125 | w->rect.size.y += 2 * gap_UI; | ||
126 | #endif | ||
124 | setFlags_Widget(w, fixedHeight_WidgetFlag, iTrue); | 127 | setFlags_Widget(w, fixedHeight_WidgetFlag, iTrue); |
125 | init_Click(&d->click, d, SDL_BUTTON_LEFT); | 128 | init_Click(&d->click, d, SDL_BUTTON_LEFT); |
126 | d->timer = 0; | 129 | d->timer = 0; |