trouble having UI window to resize itself according to children

Not applicable
05-18-2020
09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I have a UI window which displays different attributes everytime an item is selected.
I'd like the window to resize (expand and contract) as per the populated children (displayed attributes) in it.
Any ideas ? or any flags I can use ? I tried resizeToFitChildren which doesn't seem to have any effect. Perhaps this should be combined with some other options/flags ?
Thank you!
Sravan