How to declaratively get a UIElement to fill its parent?

Hi,

I’d like to have a UIElement “dock” to the bottom of the screen, with a fixed height and horizontally fill from the left to right edges. I know that I can do this by watching the parent’s size in event handlers (or subclassing a UIElement, I guess), but I’m wondering if this is possible to do declaratively? Something like SetHorizontalAlignment(HA_FILL)?

Thanks,
Russ

Currently you can’t. This pull request however should hopefully go in in the near future:
github.com/urho3d/Urho3D/pull/148

Yeah that looks perfect, thanks! You dropped the last number from the link, it should be github.com/urho3d/Urho3D/pull/1486

Thanks for the correction.