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 2020/06/23 17:52:56 UTC

[royale-asjs] branch develop updated: tourdejewel: add label truncate text example

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 cf615f1  tourdejewel: add label truncate text example
cf615f1 is described below

commit cf615f1e274b3e754c05d3b3da734aa1f15eecdc
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jun 23 19:52:45 2020 +0200

    tourdejewel: add label truncate text example
---
 examples/jewel/TourDeJewel/src/main/royale/LabelPlayGround.mxml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/LabelPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/LabelPlayGround.mxml
index dc10493..3b8d74b 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/LabelPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/LabelPlayGround.mxml
@@ -61,6 +61,12 @@ limitations under the License.
 						<j:ToolTip toolTip="This Label is clickable!"/>
 					</j:beads>
 				</j:Label>
+				
+				<j:Label localId="label2" text="This is a Label with text trucncated text and with more text and setting the width" width="300">
+					<j:beads>
+						<j:TruncateText/>
+					</j:beads>
+				</j:Label>
 
 				<j:Label text="This is a multiline label with more text that wraps if container has set a width" multiline="true"/>