Label QML Type
Text with Lomiri styling. More...
| Import Statement: | import Lomiri.Components 1.3 |
Properties
- textSize : enumeration
Detailed Description
Example:
Rectangle { color: LomiriColors.coolGrey width: units.gu(30) height: units.gu(30) Label { anchors.centerIn: parent text: "Hello, world!" fontSize: "large" } }
Property Documentation
This property holds an abstract size that allows adaptive resizing based on the measurement unit (see Units). The default value is Label.Medium.
Note: Setting this disables support for the deprecated fontSize property.
- Label.XxSmall - extremely small font size
- Label.XSmall - very small font size
- Label.Small - small font size
- Label.Medium - medium font size
- Label.Large - large font size
- Label.XLarge - very large font size
This property was introduced in Lomiri.Components 1.3.