LabelLabel.qml Example File
locationdiagnostics/assets/LabelLabel.qml
 
    
    import bb.cascades 1.0
    Container {
        property alias label: labelPart.text
        property alias text: textPart.text
        layout: StackLayout {
            orientation: LayoutOrientation.LeftToRight
        }
        Label {
            id: labelPart
            layoutProperties: StackLayoutProperties {
                spaceQuota: 1
            }
            textStyle {
                base: SystemDefaults.TextStyles.BodyText
            }
            opacity: 0.7
        }
        Label {
            id: textPart
            layoutProperties: StackLayoutProperties {
                spaceQuota: 1
            }
            multiline: true
            textStyle {
                base: SystemDefaults.TextStyles.BodyText
                color: Color.White
            }
        }
    }