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

allow horiz+vertical scroll bar in message window (with thinner scrollbars)

parent bbcdf09b
No related branches found
No related tags found
No related merge requests found
...@@ -695,8 +695,9 @@ graphicWindow::graphicWindow(bool main, int numTiles) : _autoScrollMessages(true ...@@ -695,8 +695,9 @@ graphicWindow::graphicWindow(bool main, int numTiles) : _autoScrollMessages(true
browser->textsize(FL_NORMAL_SIZE - 1); browser->textsize(FL_NORMAL_SIZE - 1);
browser->type(FL_MULTI_BROWSER); browser->type(FL_MULTI_BROWSER);
browser->callback(message_browser_cb, this); browser->callback(message_browser_cb, this);
browser->has_scrollbar(Fl_Browser_::VERTICAL); #if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
browser->scrollbar_size(10); // thinner scrollbars
#endif
tile->end(); tile->end();
// resize the tile to match the prescribed sizes // resize the tile to match the prescribed sizes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment