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


If you look at line 126 in your scroll2.cxx (and most likely the same line
in test/scroll.cxx), the first button will be positioned at (50, 20) with
length (75, 25).
When the ScrollGroup scrolls over, it _doesn't_ honour this (50, 20)
starting point; it shifts it to (0, 0). This isn't so much to do with the
labels as it is with the actual positioning of elements within a
ScrollGroup; whether or not I use ALIGN_INSIDE on the label or not, it
will still shift this if, for whatever reason, I deem there needs to be
padding to the left or above the boxes.
I claim that this behaviour is buggy, even though it's documented; it
shouldn't really be up to FLTK to decide that something is or isn't where
I originally put it.
Plus, it does look like it was originally intended to do drawing properly
anyway; lines 121-123 suggest this.


It should simply be a matter of working out where the original placement
was and *properly* setting the clip region, rather than overwriting it.


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

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

Reply via email to