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

[STR Pending]

Link: http://www.fltk.org/str.php?L1784
Version: 2.0-current
Fix Version: 2.0-current


Yeah, I attempted to follow up the clipping idea earlier and realised that
the clipping region was static; it's simply the viewable rectangle inside
ScrollGroup.

I do agree that the padding functions should definitely be added, and I'll
turn this into an RFE (eventually) to make sure I do this.

In regards to your point about the displayable region, would the child
widget's bounding box not start at (50, 50) in your [scroll2.cxx] example,
rather than (0, 0)? This is probably the crux of this discussion; I believe
it should start at (50, 50) because that's where you've positioned it to
begin with.

In terms of the image example, you could set the box to start at (0, 0)
and extend to the width and height of the image. Then just use the
scrollTo() method to set the initial viewing point to the centre of the
image. You shouldn't need to start it at negative coordinates.


Link: http://www.fltk.org/str.php?L1784
Version: 2.0-current
Fix Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to