I think you're asking how to automatically resize all of the components of a UI panel when you resize the UI panel.
This can be done from the code or from the 'guide' user interface. I'll explain the simplest method.
- Open you GUI in guide: guide('myGui')
- Hold down the ctrl key and select all elements within the panel.
- Right click on one of the selected elements and open Property Inspector.
- Change 'Units' to 'normalized'.
- Save and exit.
- After you re-run your GUI you'll be able to resize the UI panel and all of its components should rescale.
You can do steps 1:5 from the code by setting each component's 'units' property from the startup section of your GUI.
Best Answer