From adba54e90aba1b67de60cf96566102ae68a6775d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 13 Nov 2012 16:03:01 +0000 Subject: [PATCH] disable horizontal scrollbar until it is fixed in fltk --- Fltk/graphicWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index b27dbb6915..8196390d06 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -2881,8 +2881,9 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachTree) browser->type(FL_MULTI_BROWSER); browser->callback(message_browser_cb, this); browser->scrollbar_size(std::max(10, FL_NORMAL_SIZE - 2)); // thinner scrollbars -#if defined(__APPLE__) - // horizontal scrollbar is buggy on Mac when tiles are resized +#if 1 + // scrollbars are buggy when tiles are resized; hiding the horizontal one + // somewhat alleviates the problem browser->has_scrollbar(Fl_Browser_::VERTICAL); #endif } -- GitLab