Page 1 of 1

Bug in scrollergclass

Posted: Sat Jul 16, 2011 4:04 pm
by chris
When scrollergclass is attached to a window border, manually resizing it with RefreshGadgetAttrs on IDCMP_NEWSIZE does not work as expected, if IDCMP_SIZEVERIFY is also being used.
The size seems to get stuck on the previous size set, as adjusting the window again by 1 pixel changes the gadget to the correct size.

In the attached example, the scrollergclass gadget should remain at 1/3 of the window size. With IDCMP_SIZEVERIFY this is not the case - it stays at 1/3 of the previous window size.