flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [06/10] git commit: [flex-asjs] [refs/heads/develop] - get a background on tooltips
Date Sat, 10 Jan 2015 07:46:12 GMT
get a background on tooltips


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

Branch: refs/heads/develop
Commit: a4b5e9753e9b0ad4707800f0a80f7df5d2c390f9
Parents: b4a0cfe
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 9 23:43:02 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 9 23:45:58 2015 -0800

----------------------------------------------------------------------
 frameworks/as/projects/FlexJSUI/basic-manifest.xml       | 1 +
 frameworks/as/projects/FlexJSUI/defaults.css             | 5 +++++
 frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js | 1 +
 3 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a4b5e975/frameworks/as/projects/FlexJSUI/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/basic-manifest.xml b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
index 069eaef..e96f6c4 100644
--- a/frameworks/as/projects/FlexJSUI/basic-manifest.xml
+++ b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
@@ -61,6 +61,7 @@
     <component id="ControlBar" class="org.apache.flex.html.ControlBar"/>
     <component id="TitleBar" class="org.apache.flex.html.TitleBar"/>
     <component id="TitleBarModel" class="org.apache.flex.html.beads.models.TitleBarModel"/>
+    <component id="ToolTip" class="org.apache.flex.html.ToolTip"/>
     <component id="NonVirtualBasicLayout" class="org.apache.flex.html.beads.layouts.NonVirtualBasicLayout"/>
     <component id="NonVirtualBasicScrollingLayout" class="org.apache.flex.html.beads.layouts.NonVirtualBasicScrollingLayout"/>
     <component id="NonVirtualVerticalLayout" class="org.apache.flex.html.beads.layouts.NonVirtualVerticalLayout"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a4b5e975/frameworks/as/projects/FlexJSUI/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/defaults.css b/frameworks/as/projects/FlexJSUI/defaults.css
index 10c70db..e59fb94 100644
--- a/frameworks/as/projects/FlexJSUI/defaults.css
+++ b/frameworks/as/projects/FlexJSUI/defaults.css
@@ -185,6 +185,11 @@ TitleBar
     background-color: #FFFFFF;
 }
 
+ToolTip
+{
+    background-color: #FFFFCC;
+}
+
 /* Global Style Declaration */
 global
 {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a4b5e975/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js
index a3670df..b3f5b07 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js
@@ -24,6 +24,7 @@ goog.require('org.apache.flex.html.Label');
  */
 org.apache.flex.html.ToolTip = function() {
   org.apache.flex.html.ToolTip.base(this, 'constructor');
+  this.element.className = 'ToolTip';
 };
 goog.inherits(org.apache.flex.html.ToolTip,
     org.apache.flex.html.Label);


Mime
View raw message