diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-07 14:02:46 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-07 14:02:46 +0200 |
commit | e51267c1c60534a3684e0730c0b3c0fd425765c9 (patch) | |
tree | c2343d9ea63c130b170559f3b2fb26873a82fe87 /src | |
parent | 90adcc9a5bc4936470578e6c3e03e224529827c3 (diff) |
Mobile: Use compact input prompt on tablet
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 9576f5e2..5a957b47 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1797,7 +1797,7 @@ iWidget *makeValueInput_Widget(iWidget *parent, const iString *initialValue, con | |||
1797 | if (parent) { | 1797 | if (parent) { |
1798 | addChild_Widget(parent, iClob(dlg)); | 1798 | addChild_Widget(parent, iClob(dlg)); |
1799 | } | 1799 | } |
1800 | if (deviceType_App() != phone_AppDeviceType) { | 1800 | if (deviceType_App() == desktop_AppDeviceType) { /* conserve space on mobile */ |
1801 | setId_Widget( | 1801 | setId_Widget( |
1802 | addChildFlags_Widget(dlg, iClob(new_LabelWidget(title, NULL)), | 1802 | addChildFlags_Widget(dlg, iClob(new_LabelWidget(title, NULL)), |
1803 | frameless_WidgetFlag), | 1803 | frameless_WidgetFlag), |