mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Fixed issue with drawing label
This commit is contained in:
parent
9f349dae04
commit
9a48273fd4
@ -115,7 +115,7 @@ void TaskButton::draw(void) {
|
||||
fl_color(labelcolor());
|
||||
|
||||
lw = lh = 0;
|
||||
fl_measure(label(), lw, lh, align());
|
||||
fl_measure(label(), lw, lh, 0);
|
||||
|
||||
/* use clipping so long labels do not be drawn on the right border, which looks ugly */
|
||||
fl_push_clip(x() + Fl::box_dx(box()),
|
||||
|
Loading…
Reference in New Issue
Block a user