Font-family fallback

This commit is contained in:
vakrilov
2015-06-24 11:39:17 +03:00
parent e1a0e9a016
commit 997dfd1639
4 changed files with 134 additions and 46 deletions

View File

@@ -3,9 +3,12 @@
<StackLayout id="stack">
<Button text="RESET" tap="buttonTap"/>
<Label text="Fallback: times or serif" style="font-family: invalid, 'one more invalid font', , Times New Roman, serif"/>
<Label text="Fallback: monospace" style="font-family: invalid, Courier New, monospace"/>
<Label text="Fallback: monospace bold italic" style="font-family: invalid, CourierNewPS-BoldItalicMT, monospace; font-weight: bold; font-style: italic;"/>
<Label text="GREEN" style="color: green" />
<Button text="GREEN" style="color: green"/>
<Button text="GREEN" style="color: green"/>c
<TextView text="GREEN" style="color: green"/>
<TextField text="GREEN" style="color: green"/>