View Full Version : Nested scrollbars in mel UI windows?

10 October 2006, 06:30 AM
For a mel UI window that already has a vertical scrollbar, I want to have an additional scrollbar inside it for a specific frameLayout. the goal is to be able to vertically scroll through a specific frame independently of the rest of the window. i havent found a solution, is it possible?

10 October 2006, 07:33 PM
string $window = `window -title "Test Window" -width 300 -height 300 TestWindow`;

string $formLayout = `formLayout`;
string $scrollLayout = `scrollLayout`;
string $innerScrollLayout = `scrollLayout`;

formLayout -edit
-attachForm $scrollLayout "top" 5
-attachForm $scrollLayout "bottom" 5
-attachForm $scrollLayout "left" 5
-attachForm $scrollLayout "right" 5

showWindow $window;

There you go, a scrollLayout inside a scrollLayout.

CGTalk Moderation
10 October 2006, 07:33 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.