2 import Sailfish.Silica 1.0
5 property alias title: titleLabel.text
6 property alias titleVisible: titleLabel.visible
7 property alias text: subLabel.text
8 property alias textVisible: subLabel.visible
11 left: parent ? parent.left : undefined
12 right: parent ? parent.right : undefined
18 width: Math.min(parent.width, implicitWidth)
19 x: (parent.width - width) / 2
21 color: Theme.primaryColor
22 font.pixelSize: Theme.fontSizeLarge
23 truncationMode: TruncationMode.Fade
29 width: Math.min(parent.width, implicitWidth)
30 x: (parent.width - width) / 2
32 color: Theme.highlightColor
33 font.pixelSize: Theme.fontSizeExtraSmall
34 truncationMode: TruncationMode.Fade