flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkess...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - FLEX-33984: Corrected the vertical centering for label
Date Wed, 11 Dec 2013 03:14:39 GMT
Updated Branches:
  refs/heads/develop 651b1790a -> 2bd02be67


FLEX-33984: Corrected the vertical centering for label


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

Branch: refs/heads/develop
Commit: 2bd02be67d50f9736c1a1f0ddf6c62d763cb3259
Parents: 651b179
Author: Mark Kessler <KesslerConsulting@gmail.com>
Authored: Tue Dec 10 22:13:06 2013 -0500
Committer: Mark Kessler <KesslerConsulting@gmail.com>
Committed: Tue Dec 10 22:13:06 2013 -0500

----------------------------------------------------------------------
 .../src/spark/skins/spark/CheckBoxSkin.mxml     | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2bd02be6/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml b/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
index 83d176c..b491d38 100644
--- a/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
+++ b/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
@@ -154,9 +154,9 @@
                         labelDisplay.horizontalCenter = 0;
                         labelDisplay.verticalCenter = undefined;
                         labelDisplay.top = checkDisplay.height + spacing;
-                        labelDisplay.bottom = undefined;
-                        labelDisplay.left = undefined;
-                        labelDisplay.right = undefined;
+                        labelDisplay.bottom = 0;
+                        labelDisplay.left = 0;
+                        labelDisplay.right = 0;
 
                         //Adjust the checkboxes position to the top.
                         checkDisplay.horizontalCenter = 0;
@@ -172,9 +172,9 @@
                         //Adjust the labels position to left side.
                         labelDisplay.horizontalCenter = undefined;
                         labelDisplay.verticalCenter = 2;
-                        labelDisplay.top = undefined;
-                        labelDisplay.bottom = undefined;
-                        labelDisplay.left = undefined;
+                        labelDisplay.top = 3;
+                        labelDisplay.bottom = 3;
+                        labelDisplay.left = 0;
                         labelDisplay.right = checkDisplay.width + spacing;
 
                         //Adjust the checkboxes position to right side.
@@ -191,10 +191,10 @@
                         //Adjust the labels position to the top.
                         labelDisplay.horizontalCenter = 0;
                         labelDisplay.verticalCenter = undefined;
-                        labelDisplay.top = undefined;
+                        labelDisplay.top = 0;
                         labelDisplay.bottom = checkDisplay.height + spacing;
-                        labelDisplay.left = undefined;
-                        labelDisplay.right = undefined;
+                        labelDisplay.left = 0;
+                        labelDisplay.right = 0;
 
                         //Adjust the checkboxes position to the bottom.
                         checkDisplay.horizontalCenter = 0;
@@ -212,10 +212,10 @@
                         //Adjust the labels position to right side.
                         labelDisplay.horizontalCenter = undefined;
                         labelDisplay.verticalCenter = 2;
-                        labelDisplay.top = undefined;
-                        labelDisplay.bottom = undefined;
+                        labelDisplay.top = 3;
+                        labelDisplay.bottom = 3;
                         labelDisplay.left = checkDisplay.width + spacing;
-                        labelDisplay.right = undefined;
+                        labelDisplay.right = 0;
 
                         //Adjust the checkboxes position to left side.
                         checkDisplay.horizontalCenter = undefined;


Mime
View raw message