First stab at changing the UI styles - adding rounded corners and spacing to the...
authorAndy Allan <gravitystorm@gmail.com>
Thu, 19 Aug 2010 13:57:44 +0000 (13:57 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Thu, 19 Aug 2010 13:57:44 +0000 (13:57 +0000)
net/systemeD/potlatch2/TagViewer.mxml
styles/Application.css

index 086a0a3..7c305e4 100644 (file)
@@ -7,13 +7,13 @@
     initialize="loadFeatures()">
 
 <mx:ViewStack id="sidebar" width="100%" height="100%" creationPolicy="all">
-  <mx:VBox id="dndPanel" width="100%" height="100%" horizontalScrollPolicy="off">
+  <mx:VBox id="dndPanel" width="100%" height="100%" horizontalScrollPolicy="off" styleName="dndPanelVbox">
     <mx:Text id="dndPanelText" text="{dndPrompt}" automationName="{dndPrompt}" />
        <mx:Repeater id="dndRep" dataProvider="{MapFeatures.getInstance().getCategoriesForType('point')}">
                <mx:HBox width="100%"><mx:Label text="{dndRep.currentItem.name}"/></mx:HBox>
 
                        <mx:TileList dataProvider="{dndRep.currentItem.getFeaturesForType('point')}" width="100%" height="1"
-                                    rowHeight="32" columnWidth="32" updateComplete="resizePOIGrid(event)">
+                                    rowHeight="32" columnWidth="32" updateComplete="resizePOIGrid(event)" styleName="dndPanelTileList">
                                <mx:itemRenderer>
                                        <mx:Component>
                                                <mx:VBox mouseOver="parentDocument.dndPanelText.text = data.name"
index caec715..bad2451 100644 (file)
@@ -21,3 +21,13 @@ ApplicationControlBar {
                selectedFillColors: haloBlue, black;
                color: white;
 }
+
+.dndPanelTileList {
+  cornerRadius: 4px;
+}
+
+
+.dndPanelVbox {
+  paddingRight: 3px;
+  paddingLeft: 3px;
+}
\ No newline at end of file