summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 80716e0c..bc19fd09 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -512,8 +512,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) {
512 } 512 }
513 /* Note that InputWidget uses the `tight` flag to adjust its inner padding. */ 513 /* Note that InputWidget uses the `tight` flag to adjust its inner padding. */
514 setContentPadding_InputWidget(findChild_Widget(navBar, "url"), 514 setContentPadding_InputWidget(findChild_Widget(navBar, "url"),
515 width_Widget(findChild_Widget(navBar, "navbar.lock")) - 515 width_Widget(findChild_Widget(navBar, "navbar.lock")) * 0.75,
516 1.5 * gap_UI,
517 -1); 516 -1);
518 } 517 }
519 if (isPhone) { 518 if (isPhone) {
@@ -889,7 +888,7 @@ static void setupUserInterface_Window(iWindow *d) {
889 setId_Widget(as_Widget(lock), "navbar.lock"); 888 setId_Widget(as_Widget(lock), "navbar.lock");
890 setFont_LabelWidget(lock, defaultSymbols_FontId); 889 setFont_LabelWidget(lock, defaultSymbols_FontId);
891 updateTextCStr_LabelWidget(lock, "\U0001f512"); 890 updateTextCStr_LabelWidget(lock, "\U0001f512");
892 setContentPadding_InputWidget(url, width_Widget(lock) - 1.5 * gap_UI, -1); 891 setContentPadding_InputWidget(url, width_Widget(lock) * 0.75, -1);
893 } 892 }
894 /* Feeds refresh indicator is inside the input field. */ { 893 /* Feeds refresh indicator is inside the input field. */ {
895 iLabelWidget *fprog = new_LabelWidget(uiTextCaution_ColorEscape 894 iLabelWidget *fprog = new_LabelWidget(uiTextCaution_ColorEscape