From 79ddf2f2b854aac373123620b8c722f81f4fbdaa Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 9 May 2024 19:46:07 +0200 Subject: Optimize "arrow" drawing and centering - center (sub)menu arrow as good as possible - adjust arrow sizes in Fl_Counter widget - refactor "oxy" arrow drawing and centering in widgets --- src/Fl_Counter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Counter.cxx') diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx index 852658a1d..17a1efa19 100644 --- a/src/Fl_Counter.cxx +++ b/src/Fl_Counter.cxx @@ -62,7 +62,7 @@ void Fl_Counter::arrow_widths(int &w1, int &w2) { w2 = w() * 17/100; } // limit arrow box sizes to reserve more space for the text box - if (w1 > 18) w1 = 18; + if (w1 > 13) w1 = 13; if (w2 > 24) w2 = 24; } -- cgit v1.2.3