diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-09 19:46:07 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-09 19:46:07 +0200 |
| commit | 79ddf2f2b854aac373123620b8c722f81f4fbdaa (patch) | |
| tree | c78ee57de7f46b3e96d33fe813e9279b1d2c4a7d /src/Fl_Counter.cxx | |
| parent | ffd06dd9ebbc84aad88bfa9cdceab228abd038d7 (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.cxx | 2 |
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; } |
