From 467282a3073441f61da1b80c68298a825a6c69d0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 19 Feb 2012 09:31:55 +0000 Subject: [PATCH] allow horiz+vertical scroll bar in message window (with thinner scrollbars) --- Fltk/graphicWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index c0aeaab8d9..55c19bdd44 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -695,8 +695,9 @@ graphicWindow::graphicWindow(bool main, int numTiles) : _autoScrollMessages(true browser->textsize(FL_NORMAL_SIZE - 1); browser->type(FL_MULTI_BROWSER); 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(); // resize the tile to match the prescribed sizes -- GitLab