set explicit width in CategorySelector so the scrollbar doesn't screw things up
authorRichard Fairhurst <richard@systemed.net>
Sun, 13 Feb 2011 21:29:49 +0000 (21:29 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sun, 13 Feb 2011 21:29:49 +0000 (21:29 +0000)
net/systemeD/potlatch2/CategorySelector.mxml

index 128bd42..7e802ff 100644 (file)
@@ -12,7 +12,7 @@
       <mx:Repeater id="catRep" dataProvider="{MapFeatures.getInstance().getCategoriesForType(limit)}">
           <mx:VBox label="{catRep.currentItem.name}">
           <mx:TileList dataProvider="{catRep.currentItem.getFeaturesForType(limit)}"
-                       width="100%" height="100%" change="itemSelected(event);" styleName="catToggleTiles"
+                       width="420" height="100%" change="itemSelected(event);" styleName="catToggleTiles"
                        creationComplete="ensureSelection();">
               <mx:itemRenderer>
                   <mx:Component>