Luddy
05-06-2003, 07:44 AM
Can you use a scrollLayout and a tabLayout together? I'm printing out sliders inside my first tab and the can't access the ones out of the UI widow. I substituted buttons in for the sliders.
It creates a scroll but the height seems fixed at 15 or so. :hmm:
global proc mainProc(){
string $window = `window`;
columnLayout;
createTabs;
showWindow $window;
}
mainProc;
global proc createTabs(){
tabLayout;
scrollLayout -w 300 -h 600 Tab1;
columnLayout -h 500;
button;
button;
button;
setParent ..;
setParent ..;
columnLayout -h 300;
text -w 200 -h 200 -label "test";
setParent ..;
columnLayout;
text -w 65 -label "test2";
setParent ..;
}
It creates a scroll but the height seems fixed at 15 or so. :hmm:
global proc mainProc(){
string $window = `window`;
columnLayout;
createTabs;
showWindow $window;
}
mainProc;
global proc createTabs(){
tabLayout;
scrollLayout -w 300 -h 600 Tab1;
columnLayout -h 500;
button;
button;
button;
setParent ..;
setParent ..;
columnLayout -h 300;
text -w 200 -h 200 -label "test";
setParent ..;
columnLayout;
text -w 65 -label "test2";
setParent ..;
}
