Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

newRolloutFloater: minimum width

newRolloutFloater: minimum width

Anonymous
Not applicable
507 Views
1 Reply
Message 1 of 2

newRolloutFloater: minimum width

Anonymous
Not applicable

Hello guys!

 

I'm trying to create a 36 by 36 pixels Rollout Floater and it doesn't simply work. It's like the minimum width for a Rollout Floater is something between 50-60px.

 

My code:

nf_RollAllScripts = newRolloutFloater "" 36 36

 

Pretty simple right?

I really need to have a width:36 because all my scripts icons are 36*36px file. And it bothers me a lot to have empty space..

 

Can you help me out with this? It seems to come from the windows button (minimize, maximize and close). the minimum width looks like the space they take.. That space seems ignored when it comes to a rollout but not when it's a rolloutFloater.

 

Thanks!

0 Likes
508 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

HELP..

 

I need to organise my scripts like this:

- All the scripts for the animation department in a rollout_Anim

- All the scripts for the modeling department in a rollout_Mod

- ....

 

Then add rollout_Anim and rollout_Mod in newrolloutfloater. Like this I can remove the rollout_Anim or _Mod with the function removeRollout and add it back with the function addRollout. The problem: I want to have all my scripts in line vertically 36px wide, not 50 or 60...

 

Any other solution that might do the trick?

Thx

0 Likes