mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 23:56:55 +08:00
Improve check mark visibility for small sizes
This looks a little better and more like FLTK 1.3
This commit is contained in:
+1
-1
@@ -537,7 +537,7 @@ void fl_draw_check(Fl_Rect bb, Fl_Color col) {
|
|||||||
d2 = 4;
|
d2 = 4;
|
||||||
}
|
}
|
||||||
// reduce line height (width) for small sizes
|
// reduce line height (width) for small sizes
|
||||||
if (d1 < 4)
|
if (d1 < 3)
|
||||||
lh = 2;
|
lh = 2;
|
||||||
|
|
||||||
tw = d1 + d2 + 1; // total width
|
tw = d1 + d2 + 1; // total width
|
||||||
|
|||||||
Reference in New Issue
Block a user