Smaller status bar, like in the desktop version

This commit is contained in:
Sergii Pylypenko
2021-03-15 21:49:54 +02:00
parent 1c0338dc36
commit 952f9e9793
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3924,7 +3924,7 @@ void RelocateAllWindows(int neww, int newh)
break;
case WC_STATUS_BAR:
ResizeWindow(w, std::min<uint>(neww, std::min<int>(_toolbar_width, _screen.width - SETTING_BUTTON_HEIGHT * 2)) - w->width, 0, false);
ResizeWindow(w, std::min<uint>(neww, std::min<int>(_toolbar_width, _screen.width * 2 / 3 - SETTING_BUTTON_HEIGHT * 2)) - w->width, 0, false);
top = newh - w->height;
left = PositionStatusbar(w);