flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [22/36] git commit: [flex-asjs] [refs/heads/develop] - fix sizing of dropdownlist popup
Date Tue, 28 Jul 2015 18:40:48 GMT
fix sizing of dropdownlist popup


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

Branch: refs/heads/develop
Commit: 94a189babc6f74663819457b9d148f4987e70d9c
Parents: f66378c
Author: Alex Harui <aharui@apache.org>
Authored: Sun Jul 26 08:37:42 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Jul 26 08:37:42 2015 -0700

----------------------------------------------------------------------
 .../apache/flex/html/beads/controllers/DropDownListController.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/94a189ba/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/DropDownListController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/DropDownListController.as
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/DropDownListController.as
index cc295fc..36a9fce 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/DropDownListController.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/DropDownListController.as
@@ -79,9 +79,9 @@ package org.apache.flex.html.beads.controllers
             viewBead.popUpVisible = true;
             var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as
ISelectionModel;
             var popUpModel:ISelectionModel = viewBead.popUp.getBeadByType(ISelectionModel)
as ISelectionModel;
+            DisplayObject(viewBead.popUp).width = DisplayObject(_strand).width;
             popUpModel.dataProvider = selectionModel.dataProvider;
             popUpModel.selectedIndex = selectionModel.selectedIndex;
-			DisplayObject(viewBead.popUp).width = DisplayObject(_strand).width;
             var pt:Point = new Point(DisplayObject(_strand).x, DisplayObject(_strand).y +
DisplayObject(_strand).height);
             pt = DisplayObject(_strand).parent.localToGlobal(pt);
 			DisplayObject(viewBead.popUp).x = pt.x;


Mime
View raw message