summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 15:09:54 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 15:09:54 +0300
commit21b16be87fec3ec163fb52b94619ba5f3b5df6d2 (patch)
tree73df8c1469f9d7f4186b40ea7b8d34c5b6dfd7bf /src/ui/util.c
parent7f737f1b88448a8a2ccca716a09e3b37fb0c08f9 (diff)
Mobile and iOS: Various fixes and cleanup
Several regressions occurred when the split view mode was implemented.
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 2352df7d..fe35031b 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1257,6 +1257,7 @@ static iBool isOmittedPref_(const iString *id) {
1257 static const char *omittedPrefs[] = { 1257 static const char *omittedPrefs[] = {
1258 "prefs.smoothscroll", 1258 "prefs.smoothscroll",
1259 "prefs.imageloadscroll", 1259 "prefs.imageloadscroll",
1260 "prefs.pinsplit",
1260 "prefs.retainwindow", 1261 "prefs.retainwindow",
1261 "prefs.ca.file", 1262 "prefs.ca.file",
1262 "prefs.ca.path", 1263 "prefs.ca.path",
@@ -1597,6 +1598,7 @@ void finalizeSheet_Widget(iWidget *sheet) {
1597 if (element == radioButton_PrefsElement) { 1598 if (element == radioButton_PrefsElement) {
1598 setBackgroundColor_Widget(value, uiBackgroundSidebar_ColorId); 1599 setBackgroundColor_Widget(value, uiBackgroundSidebar_ColorId);
1599 setPadding_Widget(value, 4 * gap_UI, 2 * gap_UI, 4 * gap_UI, 2 * gap_UI); 1600 setPadding_Widget(value, 4 * gap_UI, 2 * gap_UI, 4 * gap_UI, 2 * gap_UI);
1601 setFlags_Widget(value, arrangeWidth_WidgetFlag, iFalse);
1600 setFlags_Widget(value, 1602 setFlags_Widget(value,
1601 borderBottom_WidgetFlag | 1603 borderBottom_WidgetFlag |
1602 resizeToParentWidth_WidgetFlag | 1604 resizeToParentWidth_WidgetFlag |