title: Titanium, gridlayout
body: <p>How can one go about making a grid layout in XML. for example say i wanted a 4x4 board. would i have to just make 16 buttons and format them useing jss? for example this is what i have, but is not in a board format yet.</p>
  
  <pre><code>&lt;Alloy&gt;
      &lt;Window layout="relative" backgroundColor="white"&gt;
  
          &lt;Button class="button left-buttons"&gt;square&lt;/Button&gt;
          &lt;Button class="button left-buttons" top="40"&gt;square&lt;/Button&gt;
          &lt;Button class="button left-buttons" top="80"&gt;square&lt;/Button&gt;
  
          &lt;Label id="User" left="100" top="120" text="&gt;(NULL)&lt;"&gt;&lt;/Label&gt;
  
          &lt;Button class="button right-buttons"  &gt;square&lt;/Button&gt;
          &lt;Button class="button right-buttons" top="40"&gt;square/square&lt;/Button&gt;
          &lt;Button class="button right-buttons" top="80"&gt;square&lt;/Button&gt;
  
          &lt;Button class="Games" top="200"&gt;square&lt;/Button&gt;
          &lt;Button class="Games" top="280"&gt;square&lt;/Button&gt;
          &lt;Button top="360"&gt;square&lt;/Button&gt;
  
      &lt;/Window&gt;
  &lt;/Alloy&gt;
  </code></pre>