# \[solved\]how Do I Make Empty Cells In A Gui

**URL:** https://forum.highend3d.com/t/solved-how-do-i-make-empty-cells-in-a-gui/1301
**Category:** Maya
**Tags:** mel
**Created:** [October 9, 2008, 11:27pm UTC](https://forum.highend3d.com/t/solved-how-do-i-make-empty-cells-in-a-gui/1301 "2008-10-09T23:27:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hanzzz](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/h/b19c9b/32.png) [@hanzzz](https://forum.highend3d.com/u/hanzzz)
#### Post date: [October 9, 2008, 11:27pm UTC](https://forum.highend3d.com/t/solved-how-do-i-make-empty-cells-in-a-gui/1301/1 "2008-10-09T23:27:36Z")

</div>

Nevermind, I solved it. I was making it needlessly complicated. I just used a columnLayout with controlGrp controls.

So, I have been working on my GUI for my Occlusion Map Baker scrip that isn't functional yet. I have nested a columnLayout in my rowLayout, but now to properly line everything up, I want to skip some cells in certain columns. How do I do that? The attached image shows what the problem is.

![](http://hsenvironments.com/downloads/UI.jpg)

Here is my code:

CODE  
global proc hsOccmapUI ()

{  
&nbsp;&nbsp;&nbsp;&nbsp;if (`window -exists occwin`)  
&nbsp;&nbsp;&nbsp;&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;deleteUI occwin;  
&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;&nbsp;&nbsp;&nbsp;window -rtf -s 0 -t "Occlusion Map Baker" occwin;  
&nbsp;&nbsp;&nbsp;&nbsp;rowLayout&nbsp;&nbsp;-numberOfColumns 6 rlayout;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl1;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl2;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl3;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl4;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl5;  
&nbsp;&nbsp;&nbsp;&nbsp;columnLayout -columnAttach "left" 0 -parent rlayout cl6;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl1;  
&nbsp;&nbsp;&nbsp;&nbsp;text -label "Bake Set Name:";  
&nbsp;&nbsp;&nbsp;&nbsp;text -label "Quality:";  
&nbsp;&nbsp;&nbsp;&nbsp;text -l "Falloff:";  
&nbsp;&nbsp;&nbsp;&nbsp;text -l "Resolution:";  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl2;  
&nbsp;&nbsp;&nbsp;&nbsp;textField -w 200 bksname;  
&nbsp;&nbsp;&nbsp;&nbsp;radioCollection quality;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "Low" -cl quality;  
&nbsp;&nbsp;&nbsp;&nbsp;intSlider -min 0 -max 100 -value 60 -step 5;  
&nbsp;&nbsp;&nbsp;&nbsp;radioCollection resolution;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "128x128" -cl resolution;  
&nbsp;&nbsp;&nbsp;&nbsp;button -label "Bake!" -c hsOccmap;  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl3;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -select -label "Medium" -cl quality;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "256x256" -cl resolution;  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl4;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "High" -cl quality;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -select -label "512x512" -cl resolution;  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl5;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "Extreme" -cl quality -bgc 1 0 0;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "1024x1024" -cl resolution;  
&nbsp;&nbsp;&nbsp;&nbsp;button -label "Cancel" -c "deleteUI occwin;";  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;setParent cl6;  
&nbsp;&nbsp;&nbsp;&nbsp;radioButton -label "2048x2048" -cl resolution -bgc 1 0 0;  
&nbsp;&nbsp;&nbsp;&nbsp;showWindow;

&nbsp;&nbsp;&nbsp;&nbsp;showWindow;  
}
