Resizing rollouts to match contents?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  12 December 2009
Resizing rollouts to match contents?

I'm currently working with a scene that has some objects with unavoidably long filenames. As a result, when I use a pickbutton on them, the width of the button far exceeds the default width of the rollout. I could change the default width on the rollout, but don't want it to be taking up a ridiculous amount of space unless necessary.

Ideally I'd like the width of my rollout to grow to match the widest pickbutton in the list, and shrink back down again if objects with shorter names are selected. I've realized that I can't even measure the width of pickbuttons or other rollout UI items (not sure why..).

Any help would be appreciated. I would ask that if this is going to require the use of dotNet controls (which I am guessing it will), please explain the process as if dealing with a total n00b. Thanks!
  12 December 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:39 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.