DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2061
Version: 1.1.9


Hi,
I draw a tree of widgets within a Group; the group is inside a Scroll.
Because the tree is data-driven, I add the tree nodes dynamically and then
I update the Group size to span over all the added widgets (one for each
node of the tree)
the problem is that when the Group has a side of more than SHRT_MAX / 2, 
the Group does not show all the added entities.
It seems that the side returned by w() or h() is negative (?!?)
further (mis-)behaviours follow but this seems to be the cause. 
a negative pixels size seems to me undesirable at all; is this a feature?
moreover, why has the size() method (&friends) a function signature with
short ints? why a signed integral anyway? why that tiny?
I'd suggest unsigned instead.
Sincerely,
Fabio


Link: http://www.fltk.org/str.php?L2061
Version: 1.1.9

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

Reply via email to