diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-02 06:20:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-02 06:20:56 +0200 |
commit | b83c46a9d6670e324fcf8a0a8cbc7f2ae5ba24db (patch) | |
tree | 8c0b7d9f06470414082d171f72bb1501a2256ea0 /src/ui/window.c | |
parent | c7b6a18b0c8ed0150f2684d29bf38c8736359e76 (diff) |
Window: Small top padding adjustment
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 89b3d9ef..1dfdd99e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -516,7 +516,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) { | |||
516 | int hPad = isPhone || isNarrow ? gap_UI / 2 : gap_UI * 3 / 2; | 516 | int hPad = isPhone || isNarrow ? gap_UI / 2 : gap_UI * 3 / 2; |
517 | int vPad = gap_UI * 3 / 2; | 517 | int vPad = gap_UI * 3 / 2; |
518 | int topPad = !findWidget_App("winbar") ? gap_UI / 2 : 0; | 518 | int topPad = !findWidget_App("winbar") ? gap_UI / 2 : 0; |
519 | setPadding_Widget(navBar, hPad, vPad / 2 + topPad, hPad, vPad / 2); | 519 | setPadding_Widget(navBar, hPad, vPad / 3 + topPad, hPad, vPad / 2); |
520 | } | 520 | } |
521 | /* Button sizing. */ | 521 | /* Button sizing. */ |
522 | if (isNarrow ^ ((flags_Widget(navBar) & tight_WidgetFlag) != 0)) { | 522 | if (isNarrow ^ ((flags_Widget(navBar) & tight_WidgetFlag) != 0)) { |