You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pe...@apache.org on 2018/03/30 15:31:24 UTC
[royale-asjs] branch feature/MXRoyale updated: Updated
ControlsExample to include NumericStepper.
This is an automated email from the ASF dual-hosted git repository.
pent pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new 96dcb46 Updated ControlsExample to include NumericStepper.
96dcb46 is described below
commit 96dcb46d0df22711f8eb25a670fd043c0f6845db
Author: Peter Ent <pe...@apache.org>
AuthorDate: Fri Mar 30 11:31:21 2018 -0400
Updated ControlsExample to include NumericStepper.
---
.../src/main/resources/assets/mediumredrect.jpg | Bin 13138 -> 13720 bytes
.../src/main/royale/ControlsExample.mxml | 14 ++++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/examples/mxroyale/ControlsExample/src/main/resources/assets/mediumredrect.jpg b/examples/mxroyale/ControlsExample/src/main/resources/assets/mediumredrect.jpg
index c5e5715..f9a5bb0 100644
Binary files a/examples/mxroyale/ControlsExample/src/main/resources/assets/mediumredrect.jpg and b/examples/mxroyale/ControlsExample/src/main/resources/assets/mediumredrect.jpg differ
diff --git a/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml b/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
index 1a3f7ad..461f679 100644
--- a/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
+++ b/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
@@ -66,9 +66,13 @@ limitations under the License.
<mx:VBox id="vbox1">
<mx:Label text="Hello World"/>
- <mx:Button label="Change Icon" click="changeIcon()" />
- <mx:Button id="button2" label="Make Shorter" className="GreenButton" icon="assets/smallgreenrect.jpg" click="otherPushMe()"/>
+ <mx:Button label="Change Icon" click="changeIcon()"
+ toolTip="Changes the icon in the button below." />
+ <mx:Button id="button2" label="Make Shorter" icon="assets/smallgreenrect.jpg"
+ click="otherPushMe()" toolTip="Makes the text below a lot shorter."/>
<mx:Image source="assets/mediumredrect.jpg" toolTip="Green Square" />
+ <mx:NumericStepper minimum="50" maximum="100" value="75" />
+ <mx:Spacer height="30" />
<mx:Text id="text1" toolTip="More than meets the eye.">
<mx:html><![CDATA[
This is <b>Text!</b> This more than a few words in it to show how
@@ -78,10 +82,16 @@ limitations under the License.
</mx:VBox>
<mx:HBox id="hbox1">
<mx:Label text="Hello World"/>
+ <mx:LinkButton label="Apache.org" />
<mx:Button label="Push Me Longer Title" toolTip="I do nothing" />
<mx:Button label="Green Icon Button" className="GreenButton" icon="assets/smallgreenrect.jpg" toolTip="I also do nothing" />
<mx:Image source="assets/mediumredrect.jpg" toolTip="Green Square" />
</mx:HBox>
+ <mx:Canvas width="300" height="300">
+ <mx:Label text="At 0,0" x="0" y="0" />
+ <mx:Label text="At 100,100" x="100" y="100" />
+ <mx:Label text="At 200,200" x="200" y="200" />
+ </mx:Canvas>
<mx:TextArea text="This is the TextArea control!"
maxChars="100"/>
--
To stop receiving notification emails like this one, please contact
pent@apache.org.