From b1ba37c5ba1df543baa87d328805af34da4bd2b1 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 24 Nov 2022 19:00:00 +0100 Subject: Add "Oxy" scheme (STR 2675, STR 3477) This commit is similar to the patch given in STR 3477, oxy_v5.diff: https://www.fltk.org/strfiles/3477/oxy_v5.diff ... with modifications, and updated to current FLTK code. --- src/Fl_Scrollbar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Scrollbar.cxx') diff --git a/src/Fl_Scrollbar.cxx b/src/Fl_Scrollbar.cxx index d8d42ce80..688e760b2 100644 --- a/src/Fl_Scrollbar.cxx +++ b/src/Fl_Scrollbar.cxx @@ -203,9 +203,9 @@ void Fl_Scrollbar::draw() { int H = h() - Fl::box_dh(box()); Fl_Rect ab; // arrow box - int inset = 3; + int inset = 2; if (W < 8 || H < 8) - inset = 2; + inset = 1; if (horizontal()) { if (W < 3*H) { -- cgit v1.2.3