summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-24 17:49:51 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-24 17:49:51 +0200
commit5f9199d081a47241fefed7b2af1f53f4995b62ab (patch)
tree633359689b6f94693808625997fcf47b1a6c804a /src/ui/window.c
parentc83d76e7e4059b208a99ec9938d1723f62fb15e3 (diff)
Window: Adjusted lock icon spacing
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index ef2c91d8..80716e0c 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -513,7 +513,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) {
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")) -
516 (isNarrow ? 2.0f : 2.75f) * gap_UI, 516 1.5 * gap_UI,
517 -1); 517 -1);
518 } 518 }
519 if (isPhone) { 519 if (isPhone) {
@@ -889,7 +889,7 @@ static void setupUserInterface_Window(iWindow *d) {
889 setId_Widget(as_Widget(lock), "navbar.lock"); 889 setId_Widget(as_Widget(lock), "navbar.lock");
890 setFont_LabelWidget(lock, defaultSymbols_FontId); 890 setFont_LabelWidget(lock, defaultSymbols_FontId);
891 updateTextCStr_LabelWidget(lock, "\U0001f512"); 891 updateTextCStr_LabelWidget(lock, "\U0001f512");
892 setContentPadding_InputWidget(url, width_Widget(lock) - 2.75f * gap_UI, -1); 892 setContentPadding_InputWidget(url, width_Widget(lock) - 1.5 * gap_UI, -1);
893 } 893 }
894 /* Feeds refresh indicator is inside the input field. */ { 894 /* Feeds refresh indicator is inside the input field. */ {
895 iLabelWidget *fprog = new_LabelWidget(uiTextCaution_ColorEscape 895 iLabelWidget *fprog = new_LabelWidget(uiTextCaution_ColorEscape