|
| 1 | +<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page"> |
| 2 | + <Page.actionBar> |
| 3 | + <ActionBar title="Labels and TextView" class="action-bar"> |
| 4 | + </ActionBar> |
| 5 | + </Page.actionBar> |
| 6 | + <ScrollView> |
| 7 | + <StackLayout padding="20"> |
| 8 | + <Label text="maxLines 2" fontWeight="bold" /> |
| 9 | + <Label |
| 10 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 11 | + textWrap="true" |
| 12 | + maxLines="2" |
| 13 | + marginTop="2" |
| 14 | + /> |
| 15 | + |
| 16 | + <Label text="maxLines 3" fontWeight="bold" marginTop="6" /> |
| 17 | + <Label |
| 18 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 19 | + textWrap="true" |
| 20 | + maxLines="3" |
| 21 | + marginTop="2" |
| 22 | + /> |
| 23 | + |
| 24 | + <Label text="maxLines 4" fontWeight="bold" marginTop="6" /> |
| 25 | + <Label |
| 26 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 27 | + textWrap="true" |
| 28 | + maxLines="4" |
| 29 | + marginTop="2" |
| 30 | + /> |
| 31 | + |
| 32 | + <Label text="NO textWrap" fontWeight="bold" marginTop="6" /> |
| 33 | + <Label |
| 34 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 35 | + marginTop="2" |
| 36 | + /> |
| 37 | + |
| 38 | + <Label text="NO maxLines" fontWeight="bold" marginTop="6" /> |
| 39 | + <Label |
| 40 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 41 | + textWrap="true" |
| 42 | + marginTop="2" |
| 43 | + /> |
| 44 | + |
| 45 | + <Label text="TextView with maxLines 4" fontWeight="bold" marginTop="6" /> |
| 46 | + <TextView |
| 47 | + text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." |
| 48 | + maxLines="4" |
| 49 | + textWrap="true" |
| 50 | + marginTop="2" |
| 51 | + /> |
| 52 | + </StackLayout> |
| 53 | + </ScrollView> |
| 54 | +</Page> |
0 commit comments