You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/12/23 08:41:33 UTC

[10/28] git commit: [flex-asjs] [refs/heads/develop] - make sure start position is 0, 0. Probably need better way to default to zero for x and y

make sure start position is 0,0.  Probably need better way to default to zero for x and y


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9160b526
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9160b526
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9160b526

Branch: refs/heads/develop
Commit: 9160b526e3f42c8e3824a96f2fbb74d9da614ee6
Parents: 6709c21
Author: Alex Harui <ah...@apache.org>
Authored: Mon Dec 22 09:56:07 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 22 09:56:07 2014 -0800

----------------------------------------------------------------------
 examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9160b526/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
index 80ffadf..836b694 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
@@ -103,6 +103,8 @@ limitations under the License.
             for (i=0; i < n; i++)
             {
                 var thumb:ProductCatalogThumbnail = new ProductCatalogThumbnail();
+                thumb.x = 0;
+                thumb.y = 0;
                 thumbnails[i] = thumb;
                 // thumbnails[i].showInAutomationHierarchy = true;
                 thumb.product = catalog.getItemAt(i) as Product;