So i am trying to figure out how to have a gridlayout in maya, where 2 cells in the same row vary in width.
i tried indexing the cells in the cellWidth flag, but with no success. this is what i have so far:
cmds.gridLayout( numberOfColumns=2, cellWidthHeight=(50, 40) )
and something like this is what i want:
cmds.gridLayout( numberOfColumns=2, cellWidthHeight=([1]=50, 40), [2]=100, 40) )
anyone got an idea?
regards Dave
[Solved]
Wow, i am so silly.
The more than easy solution is to simply adjust the height
and width
of each control within a Layout
individually, since you can just set the height
and width
of a button or intField
etc.