18 import Ubuntu.Components 0.1
19 import
"../../Components"
31 implicitHeight: childrenRect.height
35 objectName:
"titleLabel"
45 text: widgetData[
"title"] ||
""
51 objectName:
"textLabel"
53 readonly
property int maximumCollapsedLineCount: 7
58 top: titleLabel.visible ? titleLabel.bottom : parent.top
60 height: (!seeMore.visible || seeMore.more) ? contentHeight : contentHeight / lineCount * (maximumCollapsedLineCount - 2)
67 text: widgetData[
"text"]
71 UbuntuNumberAnimation {}
82 topMargin: units.gu(1)
84 visible: textLabel.lineCount > textLabel.maximumCollapsedLineCount