dear all,
it is always me. This time I am fighting with the rowColumnLayout to set up a simple GUI.
to make it simple try to load the following codein maya 2011 and maya 2009 (i dont know about 2010 since i dont have it)
//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
if (window -exists testWin
)
deleteUI testWin;
window
-width 500
-height 300
-mnb 1
-mxb 0
-resizeToFitChildren 1
testWin;
rowColumnLayout
-nc 2
-cw 1 200
-cw 2 300
mainParent_RCL;
columnLayout
-width 300
-adjustableColumn 1
-backgroundColor 0.02 0.3 0.34
left_container;
button;button;button;button;
setParent mainParent_RCL;
columnLayout
-width 20
-adjustableColumn 1
-backgroundColor 0.1 0.5 0.63
right_container;
button;button;button;button;
button;button;button;button;
button;button;button;button;
showWindow testWin;
//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
In MAYA 2009: It get me the result I want. THe two column layout contained in the rowColumnLayout are aligned on the top of the window
in MAYA 2011: it alligns the two column layouts vertically in order to put the shorter/smaller one aligned vertically on the middle poin of the longer one.
My question is: What have I to do in order to obtain the same result I got in maya 2009 with the last maya version?
That means: how can align both on the top of the two column, generated via rowColumnLayout, the two "sub" columnLayout?
Thanks in advance for your kind help, I owe you one
Cheers
Mark