royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] branch feature/revert-refactor updated: Made SpinnerButton a proper type
Date Thu, 31 May 2018 20:51:21 GMT
This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch feature/revert-refactor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/revert-refactor by this push:
     new eeb7053  Made SpinnerButton a proper type
eeb7053 is described below

commit eeb7053fb3c0f81d04a294625a3d96c2e4da5fc5
Author: Harbs <harbs@in-tools.com>
AuthorDate: Thu May 31 23:51:00 2018 +0300

    Made SpinnerButton a proper type
---
 frameworks/projects/Basic/src/main/resources/basic-manifest.xml       | 1 +
 frameworks/projects/Basic/src/main/resources/defaults.css             | 4 ++--
 .../royale/org/apache/royale/html/supportClasses/SpinnerButton.as     | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index aada42c..a098dc0 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -104,6 +104,7 @@
     <component id="SimpleAlert" class="org.apache.royale.html.SimpleAlert"/>
     <component id="Alert" class="org.apache.royale.html.Alert"/>
     <component id="Spinner" class="org.apache.royale.html.Spinner"/>
+    <component id="SpinnerButton" class="org.apache.royale.html.supportClasses.SpinnerButton"/>
     <component id="Slider" class="org.apache.royale.html.Slider"/>
     <component id="NumericStepper" class="org.apache.royale.html.NumericStepper" />
     <component id="AlternatingBackgroundColorStringItemRenderer" class="org.apache.royale.html.supportClasses.AlternatingBackgroundColorStringItemRenderer"/>
diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css b/frameworks/projects/Basic/src/main/resources/defaults.css
index d79f2bf..5a515d6 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -613,14 +613,14 @@ Spinner
 	height: 32px;
 }
 
-.SpinnerButton
+SpinnerButton
 {
 	padding: 0;
 	margin: 0;
 	font-size: 6px;
 }
 
-.SpinnerButton:hover
+SpinnerButton:hover
 {
 	padding: 0;
 	margin: 0;
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/supportClasses/SpinnerButton.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/supportClasses/SpinnerButton.as
index 6f15992..32d97f6f 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/supportClasses/SpinnerButton.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/supportClasses/SpinnerButton.as
@@ -25,7 +25,7 @@ package org.apache.royale.html.supportClasses
 		public function SpinnerButton()
 		{
 			super();
-			className = 'SpinnerButton';
+			typeNames = 'TextButton SpinnerButton';
 		}
 	}
 }

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.

Mime
View raw message