aquilarubra Messages: 24 Registered: December 2019
Promising Member
Using layouts, I seem unable to add a widget (StaticRect) from code.
Even a button doesn't show up, whether I put it into the constructor or a click event:
Button button;
*this << button.SetLabel("Button").LeftPosZ(10, 64).TopPosZ(10, 24);
I suspect the layout hides everything under itself. Any way to do that?