cgbeige
10-18-2010, 06:14 PM
I have some rather ugly rendering issues in Maya 2010 and earlier. It seems like I can't get a minimum width between checkboxes that is less than something huge:
http://grab.by/grabs/7c5c2c7a8acbed4d42e4892c2a4189c3.png
Here's the part of my code that has the columns and stuff in it:
columnLayout;
//BUILD BUTTON TOOLS//
separator -style "none" -height 2;
rowColumnLayout
-numberOfColumns 4
-width 250
-cs 2 2;
checkBox -label "VFB" -ann "Use V-Ray Framebuffer" vraytunercheckbox;
checkBox -label "LWF" -ann "Enable Linear Workflow" vraytunercheckbox2;
checkBox -label "GI" -ann "Enable Global Illumination" vraytunercheckbox3;
checkBox -label "Clamp" -ann "Enable " vraytunercheckbox4;
setParent ..;
setParent ..;
rowColumnLayout
-numberOfColumns 2
-cs 2 2
buttons;
button
-label "Show VFB"
-width 124
-height 20
-annotation "Only works after you've enabled VFB in options and render once. Not supported in OS X and Linux for <Maya 2011."
-command "vray showVFB"
;
button
-label "Render Options"
-width 124
-height 20
-command "unifiedRenderGlobalsWindow"
;
button
-label "Attach Camera"
-width 124
-height 20
-command "connectCamExp()"
-annotation "Connects Physical Camera sliders to camera's V-Ray attributes that you create first. Select your camera and hit the button."
;
button
-label "Render"
-width 124
-height 20
-command "RedoPreviousRender"
;
setParent ..;
separator -style "none" -h 2;
setParent ..;
//BUILD SLIDERS AND COLLAPSIBLE FRAMES//
//DMC Globals
frameLayout -collapsable true -label "Global DMC Quality Control" -width 250;
columnLayout;
text -align left -label "DMC Adaptive Amount (0.1 slow, 0.85 bad):";
floatSliderGrp -precision 2 -field 1 -min 0 -max 1 vraytunerslider1;
http://grab.by/grabs/7c5c2c7a8acbed4d42e4892c2a4189c3.png
Here's the part of my code that has the columns and stuff in it:
columnLayout;
//BUILD BUTTON TOOLS//
separator -style "none" -height 2;
rowColumnLayout
-numberOfColumns 4
-width 250
-cs 2 2;
checkBox -label "VFB" -ann "Use V-Ray Framebuffer" vraytunercheckbox;
checkBox -label "LWF" -ann "Enable Linear Workflow" vraytunercheckbox2;
checkBox -label "GI" -ann "Enable Global Illumination" vraytunercheckbox3;
checkBox -label "Clamp" -ann "Enable " vraytunercheckbox4;
setParent ..;
setParent ..;
rowColumnLayout
-numberOfColumns 2
-cs 2 2
buttons;
button
-label "Show VFB"
-width 124
-height 20
-annotation "Only works after you've enabled VFB in options and render once. Not supported in OS X and Linux for <Maya 2011."
-command "vray showVFB"
;
button
-label "Render Options"
-width 124
-height 20
-command "unifiedRenderGlobalsWindow"
;
button
-label "Attach Camera"
-width 124
-height 20
-command "connectCamExp()"
-annotation "Connects Physical Camera sliders to camera's V-Ray attributes that you create first. Select your camera and hit the button."
;
button
-label "Render"
-width 124
-height 20
-command "RedoPreviousRender"
;
setParent ..;
separator -style "none" -h 2;
setParent ..;
//BUILD SLIDERS AND COLLAPSIBLE FRAMES//
//DMC Globals
frameLayout -collapsable true -label "Global DMC Quality Control" -width 250;
columnLayout;
text -align left -label "DMC Adaptive Amount (0.1 slow, 0.85 bad):";
floatSliderGrp -precision 2 -field 1 -min 0 -max 1 vraytunerslider1;
