Repository: flex-asjs
Updated Branches:
  refs/heads/develop 096b3fd9e -> b7cec7f21


Border should use clientWidth and clientHeight to include padding.


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

Branch: refs/heads/develop
Commit: b7cec7f21524a292d3c1b90787e7bb5fc00a117e
Parents: 096b3fd
Author: Peter Ent <[email protected]>
Authored: Tue May 26 10:28:47 2015 -0400
Committer: Peter Ent <[email protected]>
Committed: Tue May 26 10:28:47 2015 -0400

----------------------------------------------------------------------
 .../as/src/org/apache/flex/html/beads/SingleLineBorderBead.as    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b7cec7f2/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/SingleLineBorderBead.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/SingleLineBorderBead.as
 
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/SingleLineBorderBead.as
index bd933df..fbd3800 100644
--- 
a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/SingleLineBorderBead.as
+++ 
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/SingleLineBorderBead.as
@@ -88,8 +88,8 @@ package org.apache.flex.html.beads
                        
             var host:UIBase = UIBase(_strand);
             var g:Graphics = host.graphics;
-            var w:Number = host.width;
-            var h:Number = host.height;
+            var w:Number = host.clientWidth;
+            var h:Number = host.clientHeight;
                        
                        var gd:IGraphicsDrawing = 
_strand.getBeadByType(IGraphicsDrawing) as IGraphicsDrawing;
                        if( this == gd ) g.clear();

Reply via email to