Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


A styled text control. More...

Import Statement: import Felgo 3.0


Detailed Description

AppText is an extension of the basic QML Text item using the App's styling defined in Theme.

It applies Theme::normalFont and Theme::textColor per default.

Property Documentation

fontSize : int

Set a device-independent font size. It uses the App::sp() function internally. If you set font.pixelSize directly, this property will have no effect.

By default, the fontSize is 16, which results in a font.pixelSize of sp(16).

This property was introduced in Felgo 2.17.0.