You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/11/13 21:10:03 UTC

[royale-asjs] branch develop updated: jewel-vslider: add VSlider disabled example to TDJ

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new dacb998  jewel-vslider: add VSlider disabled example to TDJ
dacb998 is described below

commit dacb998f0d616471e3a1763a0a19b4f04e5ebf3b
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Nov 13 22:09:53 2019 +0100

    jewel-vslider: add VSlider disabled example to TDJ
---
 examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml    | 5 +++++
 .../main/royale/org/apache/royale/utils/transparentPixelElement.as   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
index b36ede1..e57308e 100644
--- a/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
@@ -101,6 +101,11 @@ limitations under the License.
 		<j:HGroup localId="hg" gap="3"  width="300">
 			<j:VSlider localId="vslider_w"  height="250" value="150" minimum="50" maximum="220" change="onChange(event)" input="onInput(event)" valueChange="onValueChange(event)"/>
 			<j:VSlider localId="vslider_h"  height="250" value="80" minimum="40" maximum="300" change="onChange(event)" input="onInput(event)" valueChange="onValueChange(event)"/>
+			<j:VSlider localId="vslider_dis"  height="250" value="70" minimum="0" maximum="300">
+				<j:beads>
+					<j:Disabled/>
+				</j:beads>
+			</j:VSlider>
 			<j:Button localId="button2" text="Slider to 190x160" width="150" height="80" emphasis="{Button.PRIMARY}" click="clickHandler(event)"/>
 		</j:HGroup>
 	</j:Card>
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/utils/transparentPixelElement.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/utils/transparentPixelElement.as
index 3c90e31..56bd462 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/utils/transparentPixelElement.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/utils/transparentPixelElement.as
@@ -20,7 +20,7 @@ package org.apache.royale.utils{
     
     /**
      *
-     * @rroyaleignorecoercion HTMLImageElement
+     * @royaleignorecoercion HTMLImageElement
      */
     COMPILE::JS
     public function transparentPixelElement(className:String=null):HTMLImageElement{