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.
Bug in scrollergclass
Bug in scrollergclass
- Attachments
-
- sgc_resize.zip
- resize example
- (3.84 KiB) Downloaded 634 times