-Fixing resizing of options window

main
Harry van Haaren 2013-12-01 23:27:49 +00:00
parent a70b267e17
commit 1dc61d982a
1 changed files with 4 additions and 0 deletions

View File

@ -204,6 +204,8 @@ ControllerUI::ControllerUI(int x, int y, int w, int h, std::string n, int ID)
scroll->end();
scroll->box( FL_DOWN_FRAME );
scroll->type( Fl_Scroll::VERTICAL_ALWAYS );
widget->resizable( scroll );
}
widget->end();
@ -361,6 +363,8 @@ OptionsWindow::OptionsWindow()
tabs = new Fl_Tabs(0, 0, 400, 400);
window->resizable( tabs );
int x, y, w, h;
tabs->client_area( x, y, w, h, 25 );