-Fixing resizing of options window
parent
a70b267e17
commit
1dc61d982a
|
@ -204,6 +204,8 @@ ControllerUI::ControllerUI(int x, int y, int w, int h, std::string n, int ID)
|
||||||
scroll->end();
|
scroll->end();
|
||||||
scroll->box( FL_DOWN_FRAME );
|
scroll->box( FL_DOWN_FRAME );
|
||||||
scroll->type( Fl_Scroll::VERTICAL_ALWAYS );
|
scroll->type( Fl_Scroll::VERTICAL_ALWAYS );
|
||||||
|
|
||||||
|
widget->resizable( scroll );
|
||||||
}
|
}
|
||||||
widget->end();
|
widget->end();
|
||||||
|
|
||||||
|
@ -361,6 +363,8 @@ OptionsWindow::OptionsWindow()
|
||||||
|
|
||||||
tabs = new Fl_Tabs(0, 0, 400, 400);
|
tabs = new Fl_Tabs(0, 0, 400, 400);
|
||||||
|
|
||||||
|
window->resizable( tabs );
|
||||||
|
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
tabs->client_area( x, y, w, h, 25 );
|
tabs->client_area( x, y, w, h, 25 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue