flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [13/22] git commit: [flex-asjs] [refs/heads/develop] - fix layout in browsers
Date Fri, 09 Jan 2015 16:10:26 GMT
fix layout in browsers


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

Branch: refs/heads/develop
Commit: d127217b46ac7fca722b415d80107a88b7eefac2
Parents: 9791c92
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 9 07:43:43 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 9 08:09:49 2015 -0800

----------------------------------------------------------------------
 .../flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d127217b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
index 60d124b..23d2a9d 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
@@ -92,7 +92,8 @@ package org.apache.flex.html.beads.layouts
             if (isNaN(xx))
                 return;
             var padding:Object = determinePadding();
-            xx -= padding.paddingLeft + padding.paddingRight;
+            // some browsers don't like it when you go all the way to the right edge.
+            xx -= padding.paddingLeft + padding.paddingRight + 1;
             
             for (var i:int = n - 1; i >= 0; i--)
 			{


Mime
View raw message