Notifications
Clear all

[Closed] Adjustable rollout width?

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?

2 Replies

Looks like your code should read:

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

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?