flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [17/47] git commit: [flex-sdk] [refs/heads/develop] - Fix tooltip for HSlider
Date Sun, 17 Aug 2014 08:24:16 GMT
Fix tooltip for HSlider


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

Branch: refs/heads/develop
Commit: fb29d5753e5de5e1b0d7bd2c9fd34f8fd1c8f823
Parents: b7ba72c
Author: Om <bigosmallm@gmail.com>
Authored: Mon Apr 14 18:06:13 2014 -0700
Committer: Om <bigosmallm@gmail.com>
Committed: Mon Apr 14 18:06:13 2014 -0700

----------------------------------------------------------------------
 frameworks/projects/mobiletheme/android4x.css                  | 2 ++
 .../src/spark/skins/mobile/supportClasses/HSliderDataTip.as    | 6 +-----
 2 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fb29d575/frameworks/projects/mobiletheme/android4x.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/android4x.css b/frameworks/projects/mobiletheme/android4x.css
index 80a55a0..790a655 100644
--- a/frameworks/projects/mobiletheme/android4x.css
+++ b/frameworks/projects/mobiletheme/android4x.css
@@ -109,6 +109,8 @@ CheckBox
 HSlider
 {
     skinClass: ClassReference("spark.skins.android4.HSliderSkin");
+	fontFamily: RobotoBold;
+	fontWeight: bold;
 }
 
 RadioButton

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fb29d575/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
index 394d8d7..2da3213 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
@@ -29,7 +29,6 @@ import mx.core.UIComponent;
 import mx.core.mx_internal;
 
 import spark.components.Application;
-import spark.components.HSlider;
 import spark.components.supportClasses.StyleableTextField;
 
 use namespace mx_internal;
@@ -191,9 +190,8 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
         
         switch (applicationDPI)
         {
-			case DPIClassification.DPI_320:
+			case DPIClassification.DPI_640:
 			{
-				// Note provisional may need changes
 				fontSize = "60";
 				leftTextPadding = 28;
 				leftRightTextPadding = 56;
@@ -205,7 +203,6 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
 			}
 			case DPIClassification.DPI_480:
 			{
-				// Note provisional may need changes
 				fontSize = "40";
 				leftTextPadding = 22;
 				leftRightTextPadding = 44;
@@ -239,7 +236,6 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
 			}
 			case DPIClassification.DPI_120:
 			{
-				// Note provisional may need changes
 				fontSize = "10";
 				leftTextPadding = 6;
 				leftRightTextPadding = 11;


Mime
View raw message