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 <[email protected]> Authored: Fri Jan 9 07:50:37 2015 -0800 Committer: Alex Harui <[email protected]> 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'); } };
