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|
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.