MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML ContextMenuStyle Element

ContextMenuStyle properties and default values explained More...

Inherits MenuStyle

This element was introduced in qt-components 4.7.

Properties

Detailed Description

Custom platformStyle example

 ContextMenu {
     platformStyle: ContextMenuStyle {
         titleTextColor: "red"
         titleBarHeight: 80
     }
     ...
 }

Property Documentation

titleBarHeight : int

Property default value is 56

Title bar height.


titleFontCapitalization : int

Property default value is Font.MixedCase

Font capitalization.


titleFontFamily : string

Property default value is UI.FONT_FAMILY

Font family.


titleFontPixelSize : int

Property default value is UI.FONT_SMALL

Font pixel size.


titleTextColor : color

Property default value is "white"

Text color.