Smaller status bar, like in the desktop version

This commit is contained in:
Sergii Pylypenko
2021-03-15 21:49:54 +02:00
parent 24b003f8fc
commit 05d5e5ce54
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ struct StatusBarWindow : Window {
void FindWindowPlacementAndResize(int def_width, int def_height) override
{
Window::FindWindowPlacementAndResize(std::min(_toolbar_width, _screen.width - GetMinSizing(NWST_STEP) * 2), def_height);
Window::FindWindowPlacementAndResize(std::min(_toolbar_width, _screen.width * 2 / 3 - GetMinSizing(NWST_STEP) * 2), def_height);
}
void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) override