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

tweak

parent 5e4793b6
Branches
Tags
No related merge requests found
...@@ -109,8 +109,9 @@ class drawContextFltk : public drawContextGlobal{ ...@@ -109,8 +109,9 @@ class drawContextFltk : public drawContextGlobal{
} }
else{ else{
int w = Fl::w(); int w = Fl::w();
printf("w = %d\n",w);
if(w <= 1024) return 11; if(w <= 1024) return 11;
else if(w <= 1280) return 12; else if(w <= 1400) return 12;
else if(w <= 1680) return 13; else if(w <= 1680) return 13;
else if(w <= 1920) return 14; else if(w <= 1920) return 14;
else return 15; else return 15;
......
...@@ -612,6 +612,9 @@ void onelab_cb(Fl_Widget *w, void *data) ...@@ -612,6 +612,9 @@ void onelab_cb(Fl_Widget *w, void *data)
FlGui::instance()->onelab->stop(false); FlGui::instance()->onelab->stop(false);
FlGui::instance()->onelab->setButtonMode("check", "compute"); FlGui::instance()->onelab->setButtonMode("check", "compute");
Msg::StatusBar(true, "Done");
if(action != "initialize") FlGui::instance()->onelab->show(); if(action != "initialize") FlGui::instance()->onelab->show();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment