fix button sizes
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d698204b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d698204b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d698204b Branch: refs/heads/develop Commit: d698204bad1f23e485c7a2a258147c56c1c2d3c4 Parents: e145a2d Author: Alex Harui <[email protected]> Authored: Fri Jan 9 13:48:16 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Fri Jan 9 23:45:57 2015 -0800 ---------------------------------------------------------------------- examples/FlexJSStore/src/main.css | 7 ++++++- .../FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d698204b/examples/FlexJSStore/src/main.css ---------------------------------------------------------------------- diff --git a/examples/FlexJSStore/src/main.css b/examples/FlexJSStore/src/main.css index e092b58..938413e 100755 --- a/examples/FlexJSStore/src/main.css +++ b/examples/FlexJSStore/src/main.css @@ -92,4 +92,9 @@ basic|Container { cornerRadius: 4; borderStyle: "solid"; -} \ No newline at end of file +} + +.hoverButton +{ + height: 20px; +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d698204b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml ---------------------------------------------------------------------- diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml index 0989fb5..85d24fd 100755 --- a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml +++ b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml @@ -191,21 +191,21 @@ limitations under the License. <basic:LayoutChangeNotifier watchedProperty="{compare.height}" initialValue="0" /> <basic:LayoutChangeNotifier watchedProperty="{details.height}" initialValue="0" /> </basic:beads> - <basic:ImageButton id="purchase" backgroundImage="assets/button_cart_empty.png" + <basic:ImageButton id="purchase" backgroundImage="assets/button_cart_empty.png" className="hoverButton" click="dispatchEvent(new ProductThumbEvent(ProductThumbEvent.PURCHASE, product))" width="30"> <basic:beads> <basic:ToolTipBead toolTip="Add to cart"/> </basic:beads> </basic:ImageButton> - <basic:ImageButton id="compare" backgroundImage="assets/button_compare.png" + <basic:ImageButton id="compare" backgroundImage="assets/button_compare.png" className="hoverButton" click="dispatchEvent(new ProductThumbEvent(ProductThumbEvent.COMPARE, product))" width="30"> <basic:beads> <basic:ToolTipBead toolTip="Add to compare list"/> </basic:beads> </basic:ImageButton> - <basic:ImageButton id="details" backgroundImage="assets/button_details.png" + <basic:ImageButton id="details" backgroundImage="assets/button_details.png" className="hoverButton" click="dispatchEvent(new ProductThumbEvent(ProductThumbEvent.DETAILS, product))" width="30"> <basic:beads>
