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 2015/12/16 22:35:56 UTC

[10/50] git commit: [flex-asjs] [refs/heads/master] - FlexJSStore demo needs list item to have its width set to trigger its internal layout.

FlexJSStore demo needs list item to have its width set to trigger its internal layout.


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

Branch: refs/heads/master
Commit: d07030ff635d74339d28301e14e7917de50d56be
Parents: 4dd82db
Author: Peter Ent <pe...@apache.org>
Authored: Wed Sep 23 16:49:21 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Sep 23 16:49:21 2015 -0400

----------------------------------------------------------------------
 examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d07030ff/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
index 951b1fa..18a2b7a 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
@@ -138,6 +138,7 @@ limitations under the License.
 			for (var i:int = startIndex; i < n ; i++)
 			{
 			    var item:ProductListItem = items[i];
+			    item.width = width;
                 var yTo:Number = i * (item.height);
                 //still need to prevent items that are already in motion from getting
                 //jumpy