 public /*abstract*/ class FlexGameConfigurator extends GameConfigurator
 {
     /**
+     * Configures the number of columns to use when laying out our controls. This must be called
+     * before any calls to {@link #addControl}.
+     */
+    public function setColumns (columns :int) :void
+    {
+        _columns = columns;
+    }
+
+    /**
      * Get the Container that contains the UI elements for this configurator.
      */
     public function getContainer () :Container
     {
-        return _tile;
+        return _grid;
     }
 
     /**

     */
    public function addControl (label :UIComponent, control :UIComponent) :void
    {
        var item :HBox = new HBox();
        item.width = 225;
        item.setStyle("horizontalGap", 5);
        label.width = 95;
        item.addChild(label);
        control.width = 125;
        item.addChild(control);
        _tile.addChild(item);
    }

    /** The grid on which the config options are placed. */
    protected var _tile :Tile = new Tile();
}
}

import mx.core.Container;
import mx.core.UIComponent;

import mx.containers.Grid;
import mx.containers.GridItem;
import mx.containers.GridRow;
import mx.containers.HBox;

import com.threerings.parlor.game.data.GameConfig;
import com.threerings.parlor.util.ParlorContext;
