It would very helpful if ParentCtrl supported SetMinSize properly (ie. not with an empty template like other controls). Otherwise there is no way of telling how large a layout is.
All of this stuff may seem somewhat trivial, but one of the things that is difficult in Upp is creating gerneric container widgets of any sort, simply because there is often no way of guessing how large a control should be in a layout.
With a few small changes this could be made much easier.
Cheers,
James
I am not too sure, considering that you would need this for some layout management scheme, that such attribute is really a good idea.
I believe that such size should be in fact a result of the whole layout machinery somehow. This perhaps not really different from the size of the whole dialog and I believe that sizing the dialog based on the size of its children is the point.... so perhaps something similar should be used for ParentCtrl too...