Hello there!
Not sure if this is intentional, but the callback onChange in UIPanel will not be called when the panel resizes... I've written my own constraint-system and it works as expected with UIWidget onChange, but UIPanel onChange will only be called in case of widgets inside it changes (?). Is this expected behaviour? If so, it would be really appreciated if you added a callback similar to the one in UIWidget! I'll change it for now, but I really hate having custom code hanging around.
And yes, I do realise the descriptions for the both delegates differ, but it doesn't really make sense (IMO) to not notify about resize-changes.
Even better would be to have this specific callback in the UIRect-class (Any reason why it isn't there in the first place?), so one can listen for changes for all kinds of rects (UIPanel & UIWidget).
Have a nice day.
