summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-24 19:27:19 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-24 19:27:19 +0200
commitd1756d31fb7c223a6428e79bd16e059100139626 (patch)
tree7d48ea86e1371588cece9dcab7f6d43407640db8 /src/ui
parent8daaf356fc76eea35c714e36689f76d23fd2d2a2 (diff)
Window: Adjusted lock spacing
Diffstat (limited to 'src/ui')
-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