Is there a resize-because-anchor-moved event?
I have a resizable top-level window, and inside it a ZO_ScrollList, anchored to TOPLEFT and BOTTOMRIGHT of the parent, with some room left around it for other controls.
When I resize the parent, the list doesn't refresh its rows, not even the scroll bar height. Which means if I shrink the top-level control, the bottom rows cannot be scrolled to and the bar runs out of the control. If I enlarge the window, there's empty space where more rows should be.
Right now I set an OnUpdate handler in OnResizeStart on the top-level window and remove it again in OnResizeStop. It works, but seems a bit awkward. I'm looking for an event that the list itself would receive each time its dimensions change.
|