mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<Page>
|
|
<StackLayout>
|
|
<Button text="no align" />
|
|
<Button text="left" style="text-align: left" />
|
|
<Button text="center" style="text-align: center" />
|
|
<Button text="right" style="text-align: right" />
|
|
<Button text="Yellow text / black bg after 2s" class="ui-tests-app-issue-ng-1453-base ui-tests-app-issue-ng-1453-pink" loaded="issue_ng_1453_loaded" />
|
|
|
|
<WrapLayout>
|
|
<Button text="RESET" tap="resetStyles"/>
|
|
<Button text="normal" />
|
|
<Button text="color" style="color: green"/>
|
|
<Button text="size" style="font-size: 32" />
|
|
<Button text="italic" style="font-style: italic" />
|
|
<Button text="bold" style="font-weight: bold"/>
|
|
<Button text="bold-italic" style="font-weight: bold; font-style: italic"/>
|
|
<Button text="serif" style="font-family: serif"/>
|
|
<Button text="sans-serif" style="font-family: sans-serif"/>
|
|
<Button text="monospace" style="font-family: monospace"/>
|
|
<Button text="Times New Roman" style="font-family: Times New Roman"/>
|
|
<Button text="invalid" style="font-family: InvalidFont"/>
|
|
<Button text="all in one" style="font-family: serif; font-weight: bold; font-style: italic; font-size: 32; color: green" />
|
|
<Button text="padding on next" style="padding: 0"/>
|
|
<Button text="padding and borderWidth" style="padding: 0; border-width: 5; border-color: red; border-radius: 8"/>
|
|
</WrapLayout>
|
|
</StackLayout>
|
|
</Page>
|