Hello.
I'm creating a rollout that contains more buttons than can be seen within the actual size of the rollout. Currently, I have two buttons (up and down buttons) on the right side of the rollout that retain their position, while the buttons on the left move up and down depending on what buttons were pressed on the right. The scrolling works for the most part. I'm moving the position on the y-axis of all the buttons that I want to move. However, as I continue to scroll up and down, the buttons start overlapping each other - this is not what I want. How can I make it so the buttons stay equally spaced apart from each other? I've tried different things, and none of them have worked.
I have already tried the follow:
this_button.pos.y += scroll_amount
this_button.pos.y = this_button.pos.y + scroll_amount
The worst case scenario may be that I have to manually set the positions for the buttons each time they are scrolled. But, I would like to know if this can be fixed more easily.
Any help is greatly appreciated. Thanks.
Replies
May I suggest putting your permanent buttons in the rollout and the scrolling options in a subRollout? I made this using a subrollout to hide the less common options.
Thanks again, monster.
http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_CDE5B06D_4BB4_4DEA_96C1_6BAB98709F09_htm
One thing I did make dynamic is the parent's rollout height. It changes when the subRollout is closed or opened.
Thank you, monster. I will look at this, and get back to you if I have any other problems.