I've been experimenting with the GUI Resizing, but I'm finding that when I move the window's handle and change the size of a control in the code, for example with
GetGUIResize()->ResizeControlRelativeToWindowSize(*mMyControl);
The control will resize as expected while I'm adjusting the handle, but when I release the mouse button it will quickly jump back to where it was before I resized the window.
Is there a step I'm missing?
|