diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index e8d5de6c85f27f35af9ae99f95355bf50bad3843..8e92bd367cd7c55bf796e9a1ec0a84f2da71b779 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -661,7 +661,8 @@ void FlGui::setStatus(const std::string &msg, bool opengl) { if(!opengl){ static char buff[1024]; - strncpy(buff, msg.c_str(), sizeof(buff) - 1); + std::string tmp = std::string(" ") + msg; + strncpy(buff, tmp.c_str(), sizeof(buff) - 1); buff[sizeof(buff) - 1] = '\0'; for(unsigned int i = 0; i < graph.size(); i++){ graph[i]->getProgress()->label(buff); diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index f9ec20efb1267e44b3abe0d7bf4c21a7fee6fe49..11faa56c8f19eb70e1547e67444ac0ffd94caeb9 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -2711,7 +2711,7 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu) _butt[i]->align(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP); } - x += 6; + x += 4; _label = new Fl_Progress(x, mh + glheight + mheight + 2, width - x, sht); _label->box(FL_FLAT_BOX); _label->align(FL_ALIGN_LEFT | FL_ALIGN_INSIDE | FL_ALIGN_CLIP);