mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
TransformationMethod set to null in order to apply formattedText
This commit is contained in:
@@ -12,6 +12,16 @@
|
||||
</FormattedString>
|
||||
</Label.formattedText>
|
||||
</Label>
|
||||
<Label>
|
||||
<Label.formattedText>
|
||||
<FormattedString>
|
||||
<FormattedString.spans>
|
||||
<Span text="label" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||
<Span text="Label" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||
</FormattedString.spans>
|
||||
</FormattedString>
|
||||
</Label.formattedText>
|
||||
</Label>
|
||||
|
||||
<Button text="buttonButton" style="text-transform: uppercase; text-decoration: underline line-through;" />
|
||||
<Button style="text-transform: uppercase; text-decoration: underline line-through;">
|
||||
@@ -24,6 +34,16 @@
|
||||
</FormattedString>
|
||||
</Button.formattedText>
|
||||
</Button>
|
||||
<Button>
|
||||
<Button.formattedText>
|
||||
<FormattedString>
|
||||
<FormattedString.spans>
|
||||
<Span text="button" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||
<Span text="Button" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||
</FormattedString.spans>
|
||||
</FormattedString>
|
||||
</Button.formattedText>
|
||||
</Button>
|
||||
|
||||
<TextField text="textField" style="text-transform: uppercase; text-decoration: underline line-through;" />
|
||||
<TextField style="text-transform: uppercase; text-decoration: underline line-through;">
|
||||
@@ -36,6 +56,16 @@
|
||||
</FormattedString>
|
||||
</TextField.formattedText>
|
||||
</TextField>
|
||||
<TextField>
|
||||
<TextField.formattedText>
|
||||
<FormattedString>
|
||||
<FormattedString.spans>
|
||||
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||
<Span text="Field" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||
</FormattedString.spans>
|
||||
</FormattedString>
|
||||
</TextField.formattedText>
|
||||
</TextField>
|
||||
|
||||
<TextView text="textView" style="text-transform: uppercase; text-decoration: underline line-through;" />
|
||||
<TextView style="text-transform: uppercase; text-decoration: underline line-through;">
|
||||
@@ -48,6 +78,16 @@
|
||||
</FormattedString>
|
||||
</TextView.formattedText>
|
||||
</TextView>
|
||||
<TextView>
|
||||
<TextView.formattedText>
|
||||
<FormattedString>
|
||||
<FormattedString.spans>
|
||||
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
||||
<Span text="View" fontAttributes="Italic" foregroundColor="#00ff00" />
|
||||
</FormattedString.spans>
|
||||
</FormattedString>
|
||||
</TextView.formattedText>
|
||||
</TextView>
|
||||
|
||||
</StackLayout>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user