summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/inputwidget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index 7ceb59c1..9261da0c 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -266,9 +266,9 @@ struct Impl_InputWidget {
266iDefineObjectConstructionArgs(InputWidget, (size_t maxLen), maxLen) 266iDefineObjectConstructionArgs(InputWidget, (size_t maxLen), maxLen)
267 267
268static int extraPaddingHeight_InputWidget_(const iInputWidget *d) { 268static int extraPaddingHeight_InputWidget_(const iInputWidget *d) {
269 if (isPortraitPhone_App() && !cmp_String(id_Widget(&d->widget), "url")) { 269 if ((isPortraitPhone_App() || deviceType_App() == tablet_AppDeviceType) &&
270 /* Special case: the URL input field gets taller in portrait phone mode to make 270 !cmp_String(id_Widget(&d->widget), "url")) {
271 the tap target more generous. */ 271 /* Make the tap target more generous. */
272 return 2.5f * gap_UI; 272 return 2.5f * gap_UI;
273 } 273 }
274 return 1.25f * gap_UI; 274 return 1.25f * gap_UI;