mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Update letter sapcing page
This commit is contained in:
@ -1,12 +1,11 @@
|
|||||||
<Page>
|
<Page>
|
||||||
|
<ScrollView>
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
|
|
||||||
<WrapLayout>
|
<WrapLayout>
|
||||||
<Label text="labelLabel" style="letter-spacing: -1;" />
|
<Label text="labelLabel" style="letter-spacing: -1;" />
|
||||||
<Label text="labelLabel" style="letter-spacing: 0;" />
|
<Label text="labelLabel" style="letter-spacing: 0;" />
|
||||||
<Label text="labelLabel" style="letter-spacing: 1;" />
|
<Label text="labelLabel" style="letter-spacing: 1;" />
|
||||||
</WrapLayout>
|
</WrapLayout>
|
||||||
|
|
||||||
<Label text="labelLabel" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
<Label text="labelLabel" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
||||||
<Label style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
<Label style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
||||||
<Label.formattedText>
|
<Label.formattedText>
|
||||||
@ -18,66 +17,62 @@
|
|||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Label.formattedText>
|
</Label.formattedText>
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<WrapLayout>
|
<WrapLayout>
|
||||||
<Button text="buttonButton" style="letter-spacing: -1;" />
|
<Button text="buttonButton" style="letter-spacing: -1;" />
|
||||||
<Button text="buttonButton" style="letter-spacing: 0;" />
|
<Button text="buttonButton" style="letter-spacing: 0;" />
|
||||||
<Button text="buttonButton" style="letter-spacing: 1;" />
|
<Button text="buttonButton" style="letter-spacing: 1;" />
|
||||||
</WrapLayout>
|
</WrapLayout>
|
||||||
|
|
||||||
<Button text="buttonButton" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
<Button text="buttonButton" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
||||||
<!--<android>-->
|
<!--<android>-->
|
||||||
<Button style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
<Button style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
||||||
<Button.formattedText>
|
<Button.formattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<FormattedString.spans>
|
<FormattedString.spans>
|
||||||
<Span text="button" fontAttributes="Bold" foregroundColor="#0000ff" />
|
<Span text="button" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||||
<Span text="Button" fontAttributes="Italic" foregroundColor="#00ff00" />
|
<Span text="Button" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||||
</FormattedString.spans>
|
</FormattedString.spans>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Button.formattedText>
|
</Button.formattedText>
|
||||||
</Button>
|
</Button>
|
||||||
<!--</android>-->
|
<!--</android>-->
|
||||||
|
|
||||||
<WrapLayout>
|
<WrapLayout>
|
||||||
<TextField text="textField" style="letter-spacing: -1;" />
|
<ios>
|
||||||
|
<TextField text="textField" style="letter-spacing: -1;" />
|
||||||
|
</ios>
|
||||||
<TextField text="textField" style="letter-spacing: 0;" />
|
<TextField text="textField" style="letter-spacing: 0;" />
|
||||||
<TextField text="textField" style="letter-spacing: 1;" />
|
<TextField text="textField" style="letter-spacing: 1;" />
|
||||||
</WrapLayout>
|
</WrapLayout>
|
||||||
|
|
||||||
<TextField text="textField" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
<TextField text="textField" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
||||||
<!--<android>-->
|
<!--<android>-->
|
||||||
<TextField style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
<TextField style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
||||||
<TextField.formattedText>
|
<TextField.formattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<FormattedString.spans>
|
<FormattedString.spans>
|
||||||
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||||
<Span text="Field" fontAttributes="Italic" foregroundColor="#00ff00" />
|
<Span text="Field" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||||
</FormattedString.spans>
|
</FormattedString.spans>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</TextField.formattedText>
|
</TextField.formattedText>
|
||||||
</TextField>
|
</TextField>
|
||||||
<!--</android>-->
|
<!--</android>-->
|
||||||
|
|
||||||
<WrapLayout>
|
<WrapLayout>
|
||||||
<TextView text="textView" style="letter-spacing: -1;" />
|
<TextView text="textView" style="letter-spacing: -1;" />
|
||||||
<TextView text="textView" style="letter-spacing: 0;" />
|
<TextView text="textView" style="letter-spacing: 0;" />
|
||||||
<TextView text="textView" style="letter-spacing: 1;" />
|
<TextView text="textView" style="letter-spacing: 1;" />
|
||||||
</WrapLayout>
|
</WrapLayout>
|
||||||
|
|
||||||
<TextView text="textView" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
<TextView text="textView" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
||||||
<!--<android>-->
|
<!--<android>-->
|
||||||
<TextView style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
<TextView style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
||||||
<TextView.formattedText>
|
<TextView.formattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<FormattedString.spans>
|
<FormattedString.spans>
|
||||||
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||||
<Span text="View" fontAttributes="Italic" foregroundColor="#00ff00" />
|
<Span text="View" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||||
</FormattedString.spans>
|
</FormattedString.spans>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</TextView.formattedText>
|
</TextView.formattedText>
|
||||||
</TextView>
|
</TextView>
|
||||||
<!--</android>-->
|
<!--</android>-->
|
||||||
|
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
</ScrollView>
|
||||||
</Page>
|
</Page>
|
Reference in New Issue
Block a user