Fixed text input widget too small and bottom bar too wide

This commit is contained in:
pelya
2016-04-02 23:39:41 +03:00
parent 079c97d994
commit 3f4beeb212
2 changed files with 2 additions and 1 deletions

View File

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