summaryrefslogtreecommitdiff
path: root/src/Fl_Counter.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-05-09 19:46:07 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-05-09 19:46:07 +0200
commit79ddf2f2b854aac373123620b8c722f81f4fbdaa (patch)
treec78ee57de7f46b3e96d33fe813e9279b1d2c4a7d /src/Fl_Counter.cxx
parentffd06dd9ebbc84aad88bfa9cdceab228abd038d7 (diff)
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
Diffstat (limited to 'src/Fl_Counter.cxx')
-rw-r--r--src/Fl_Counter.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}