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/03/03 15:00:32 UTC

[royale-asjs] branch develop updated: tour-de-jewel: show TruncateText use

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 f3c620a  tour-de-jewel: show TruncateText use
f3c620a is described below

commit f3c620aeae9f6d7594e0e4a2146befd95b2acd65
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Mar 3 16:00:20 2020 +0100

    tour-de-jewel: show TruncateText use
---
 .../TourDeJewel/src/main/royale/TextInputPlayGround.mxml     | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/examples/royale/TourDeJewel/src/main/royale/TextInputPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/TextInputPlayGround.mxml
index 79ddbc1..2379301 100644
--- a/examples/royale/TourDeJewel/src/main/royale/TextInputPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/TextInputPlayGround.mxml
@@ -252,6 +252,18 @@ limitations under the License.
 			</j:Card>
 		</j:GridCell>
 		
+		<j:GridCell wideScreenNumerator="1" wideScreenDenominator="2" desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
+			<j:Card>
+				<html:H3 text="Jewel TextInput TruncatedText"/>
+
+				<j:TextInput text="A TextInput with many text to get trucated" change="textInputChange(event)" enter="enterPress(event)">
+					<j:beads>
+						<j:TruncateText/>
+					</j:beads>
+				</j:TextInput>
+			</j:Card>
+		</j:GridCell>
+		
 	</j:Grid>
 
 </c:ExampleAndSourceCodeTabbedSectionContent>