diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-24 17:49:51 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-24 17:49:51 +0200 |
commit | 5f9199d081a47241fefed7b2af1f53f4995b62ab (patch) | |
tree | 633359689b6f94693808625997fcf47b1a6c804a | |
parent | c83d76e7e4059b208a99ec9938d1723f62fb15e3 (diff) |
Window: Adjusted lock icon spacing
-rw-r--r-- | src/ui/window.c | 4 |
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 |