Home Coding, Scripting, Shaders

Maya MEL how to reduce width of textFieldButtonGrp?

polycount sponsor
Offline / Send Message
malcolm polycount sponsor
I just started using textFieldButtonGrp and I can't figure out how to reduce its width, the text field is always the same width making my UI super wide. What is the trick to specifying a width? Here's my simple window.

string $window = `window -toolbox true -sizeable true -resizeToFitChildren true`;
rowLayout -numberOfColumns 2 -columnAttach2 "left" "left" -columnOffset2 0 0 -columnWidth 1 5 -columnWidth 2 5;
textFieldButtonGrp -columnAlign 1 right -adjustableColumn 1 -label "Label" -text "Text" -buttonLabel "Button";
showWindow $window;

Replies

Sign In or Register to comment.