Skip to content
Snippets Groups Projects
Commit a7500cc6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix msg height if window bigger than screen size

parent ac0f2fec
No related branches found
No related tags found
No related merge requests found
......@@ -481,8 +481,9 @@ graphicWindow::graphicWindow(bool main, int numTiles)
// make sure height < screen height
if(height > Fl::h()){
height = Fl::h();
mheight = 100;
glheight = Fl::h() - mheight - sh;
glheight = height - mheight - sh;
CTX::instance()->msgSize = mheight;
CTX::instance()->glSize[1] = glheight;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment