Closed mzimmerm closed 2 years ago
Right now, wide labels can cause the paint(ui.Canvas canvas, ui.Size size) to paint outside the area passed by the size parameter. There are a few ways to clip this, the most obvious, adding
paint(ui.Canvas canvas, ui.Size size)
size
canvas.clipRect(const ui.Offset(0.0, 0.0) & size);
at the end of the paint method seems to be doing "nothing". Investigate why and find a way to achieve clipping.
paint
This has been fixed in v. 0.1.8 by adding the labels auto-layout
Right now, wide labels can cause the
paint(ui.Canvas canvas, ui.Size size)
to paint outside the area passed by thesize
parameter. There are a few ways to clip this, the most obvious, addingat the end of the
paint
method seems to be doing "nothing". Investigate why and find a way to achieve clipping.