Fixed toolbar and status bar

This commit is contained in:
pelya
2015-04-13 01:11:50 +03:00
parent 13ad49d329
commit 7dc511ba5c
3 changed files with 13 additions and 2 deletions

View File

@@ -3602,7 +3602,7 @@ void RelocateAllWindows(int neww, int newh)
break;
case WC_STATUS_BAR:
ResizeWindow(w, min(neww, _toolbar_width) - w->width, 0, false);
ResizeWindow(w, min(neww, min(_toolbar_width, _screen.width - SETTING_BUTTON_HEIGHT * 2)) - w->width, 0, false);
top = newh - w->height;
left = PositionStatusbar(w);