18 import Ubuntu.Components 0.1
19 import
"../../Components"
31 implicitHeight: childrenRect.height
35 objectName:
"titleLabel"
40 height: visible ? implicitHeight : 0
46 text: widgetData[
"title"] ||
""
52 objectName:
"textLabel"
54 readonly
property int maximumCollapsedLineCount: 7
59 top: titleLabel.visible ? titleLabel.bottom : parent.top
61 height: (!seeMore.visible || seeMore.more) ? contentHeight : contentHeight / lineCount * (maximumCollapsedLineCount - 2)
68 text: widgetData[
"text"]
72 UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
83 topMargin: visible ? units.gu(1) : 0
85 height: visible ? implicitHeight : 0
86 visible: textLabel.lineCount > textLabel.maximumCollapsedLineCount