MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML LabelStyle Element

LabelStyle properties and default values explained More...

Inherits Style

This element was introduced in qt-components 4.7.

Properties

Detailed Description

Custom platformStyle example

 Label {
     platformStyle: LabelStyle {
         textColor: "red"
         fontFamily: "Arial"
         fontPixelSize: 30
     }
 }

Property Documentation

fontFamily : string

Property default value is UI.FONT_FAMILY

Font family.


fontPixelSize : string

Property default value is UI.FONT_DEFAULT_SIZE

Font pixel size.


textColor : color

Property default value is inverted?UI.COLOR_INVERTED_FOREGROUND:UI.COLOR_FOREGROUND

Text color.