Font for the whole app

Is there a way to set a default font for the whole application, or do I have to add the font on each single element?

Hi mircea,

you can set the Font on a ux:Class and then use that throughout your app. Like so:

<Font File="fonts/Roboto.ttf" ux:Global="Roboto"/>
<Text ux:Class="RobotoText" Font="Roboto" />
<RobotoText Value="This will use Roboto!" />

All other Text properties are still available on the RobotoText component, since it extends the Text base-class.