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/01/09 17:10:33 UTC
[20/22] git commit: [flex-asjs] [refs/heads/develop] - align things
vertically
align things vertically
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b5bcfc2a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b5bcfc2a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b5bcfc2a
Branch: refs/heads/develop
Commit: b5bcfc2ac33140977c6e5ebea1857c4bf5962da8
Parents: 9d182f7
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jan 9 07:50:37 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jan 9 08:09:51 2015 -0800
----------------------------------------------------------------------
.../apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b5bcfc2a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js
index 320985d..d01a8f5 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js
@@ -110,6 +110,7 @@ org.apache.flex.html.beads.layouts.NonVirtualHorizontalLayout.
child.lastDisplay_ = 'inline-block';
else
child.style.display = 'inline-block';
+ child.style.verticalAlign = 'middle';
child.flexjs_wrapper.dispatchEvent('sizeChanged');
}
};