Bug in scrollergclass

This forum is for general developer support questions.
Post Reply
chris
Posts: 562
Joined: Sat Jun 18, 2011 11:05 am
Contact:

Bug in scrollergclass

Post 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.
Attachments
sgc_resize.zip
resize example
(3.84 KiB) Downloaded 629 times
Post Reply