09-22-2016, 12:48 PM
(09-22-2016, 09:11 AM)povmaniac Wrote: I try to make more small UI panels than as possible, but I obtain a lot of empty space:That blank space can be caused by "reserved space" for show hidden controls or because one of those tab control is too hight (one of the reasons I suggest you to split the "Influence" group box into two columns).
:
Why??
As the dialog doesn't expand/contract automatically (as the old UI - using ESDL) and the new UI doesn't have scroll capability the needed space is reserved.
By default, every control added to the dialog will be shown. So, just because of that, when working with controls that can be shown/hidden we need to be sure to make visible only the controls used for the higher control option - we use {show,false} for that.
In the previous plugin implementation you see that in the Material tab, that was the higher one compared to the other.
It can be hard to explain. I hope to not have made thing more obscure for you.