on xenial help sign in
More fixes
d536bedAndrea Cimitan
qml/Dash/Previews/PreviewTextSummary.qml+6−1
@@ -28,7 +28,12 @@ import "../../Components"
28
28
29PreviewWidget {
29PreviewWidget {
30 id: root
30 id: root
31− implicitHeight: seeMore.visible ? childrenRect.height : titleLabel.height + textLabel.height
31+ implicitHeight: {
32+ var tmpHeight = textLabel.height;
33+ if (titleLabel.visible) tmpHeight += titleLabel.height;
34+ if (seeMore.visible) tmpHeight += seeMore.height + seeMore.anchors.topMargin;
35+ return tmpHeight;
36+ }
32
37
33 Label {
38 Label {
34 id: titleLabel
39 id: titleLabel