diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/indicatorwidget.c | 2 | ||||
-rw-r--r-- | src/ui/root.c | 3 | ||||
-rw-r--r-- | src/ui/util.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/indicatorwidget.c b/src/ui/indicatorwidget.c index 4a829ae3..bc0bd0fa 100644 --- a/src/ui/indicatorwidget.c +++ b/src/ui/indicatorwidget.c | |||
@@ -109,7 +109,7 @@ void draw_IndicatorWidget_(const iIndicatorWidget *d) { | |||
109 | colors[0] = black_ColorId; | 109 | colors[0] = black_ColorId; |
110 | } | 110 | } |
111 | fillRect_Paint(&p, | 111 | fillRect_Paint(&p, |
112 | (iRect){ topLeft_Rect(rect), init_I2(pos * width_Rect(rect), gap_UI / 4)}, | 112 | (iRect){ topLeft_Rect(rect), init_I2(pos * width_Rect(rect), gap_UI / 3)}, |
113 | colors[isCompleted_IndicatorWidget_(d) ? 1 : 0]); | 113 | colors[isCompleted_IndicatorWidget_(d) ? 1 : 0]); |
114 | } | 114 | } |
115 | } | 115 | } |
diff --git a/src/ui/root.c b/src/ui/root.c index 6c00db0f..c3a9596f 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -571,7 +571,8 @@ static void showSearchQueryIndicator_(iBool show) { | |||
571 | iWidget *navBar = findWidget_Root("navbar"); | 571 | iWidget *navBar = findWidget_Root("navbar"); |
572 | iWidget *indicator = findWidget_App("input.indicator.search"); | 572 | iWidget *indicator = findWidget_App("input.indicator.search"); |
573 | updateTextCStr_LabelWidget((iLabelWidget *) indicator, | 573 | updateTextCStr_LabelWidget((iLabelWidget *) indicator, |
574 | flags_Widget(navBar) & tight_WidgetFlag | 574 | (deviceType_App() == phone_AppDeviceType || |
575 | flags_Widget(navBar) & tight_WidgetFlag) | ||
575 | ? "${status.query.tight} " return_Icon | 576 | ? "${status.query.tight} " return_Icon |
576 | : "${status.query} " return_Icon); | 577 | : "${status.query} " return_Icon); |
577 | indicator->rect.size.x = defaultSize_LabelWidget((iLabelWidget *) indicator).x; /* don't touch height */ | 578 | indicator->rect.size.x = defaultSize_LabelWidget((iLabelWidget *) indicator).x; /* don't touch height */ |
diff --git a/src/ui/util.c b/src/ui/util.c index f2449096..55b48b3f 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1600,8 +1600,6 @@ iWidget *makePreferences_Widget(void) { | |||
1600 | /* General preferences. */ { | 1600 | /* General preferences. */ { |
1601 | appendTwoColumnPage_(tabs, "${heading.prefs.general}", '1', &headings, &values); | 1601 | appendTwoColumnPage_(tabs, "${heading.prefs.general}", '1', &headings, &values); |
1602 | #if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT) | 1602 | #if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT) |
1603 | //addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.downloads}"))); | ||
1604 | //setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads"); | ||
1605 | addPrefsInputWithHeading_(headings, values, "prefs.downloads", iClob(new_InputWidget(0))); | 1603 | addPrefsInputWithHeading_(headings, values, "prefs.downloads", iClob(new_InputWidget(0))); |
1606 | #endif | 1604 | #endif |
1607 | iInputWidget *searchUrl; | 1605 | iInputWidget *searchUrl; |