PDA

View Full Version : Adjustable rollout width?


reForm
03-09-2006, 05:49 PM
Is there any way to make the width of a rollout/floater dialog adjustable? or is this restricted to only vertical size adjustment/scroll?

I've tried this code, but it doesnt work.

on resized new_size do
(
MLister.matinspectorfloater.size = rollout_size - [0,48]
)

I can manually change the size using the listener, but I can't get a dynamic resize working. Is there a workaround to this?

JHaywood
03-09-2006, 06:25 PM
Looks like your code should read:

on resized new_size do
(
MLister.matinspectorfloater.size = new_size - [0,48]
)

reForm
03-09-2006, 11:24 PM
ha. sorry.... obvious mistake (that will teach me not to edit code before posting)

BUT..... it still doesn't work.

Am I right in saying that you can't have a floater that can be resized?

CGTalk Moderation
03-09-2006, 11:24 PM
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.