> Without going too deep into it (I'm still testing), I would like to
> ask for your opinions how to handle _negative_ widget sizes.
>
> Would it be sensible to assume that negative width and/or height means
> the same as 0, and that the widget is thus invisible?

FWIW. my first comment, without having investigated further, is that
as long as we are consistently using platforms that all start with
(0,0) in the top left corner, we should not allow negative height and
width at all. I'm not even sure about allowing zero height and width.

If the code currently allows it, is it handled consistently everywhere?
What does it mean? An invisible widget? Where is the bounding box of a
group containing such a widget? Let's keep the lid on this can of worms,
keep it simple and work to the principle of least surprise...

D.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to