Label QML Type
Text with Ubuntu styling. More...
Import Statement: | import Ubuntu.Components 1.2 |
Inherits: |
Properties
- fontSize : string
Detailed Description
Example:
Rectangle { color: UbuntuColors.coolGrey width: units.gu(30) height: units.gu(30) Label { anchors.centerIn: parent text: "Hello, world!" fontSize: "large" } }
Property Documentation
The size of the text. One of the following strings (from smallest to largest):
- "xx-small"
- "x-small"
- "small"
- "medium"
- "large"
- "x-large"
Default value is "medium".