on xenial help sign in
More changes for review
f80142aAndrea Cimitan
qml/Dash/Previews/PreviewComment.qml+2−1
@@ -26,7 +26,7 @@ import Ubuntu.Components 1.2
26
26
27PreviewWidget {
27PreviewWidget {
28 id: root
28 id: root
29− implicitHeight: column.implicitHeight
29+ implicitHeight: Math.max(avatar.height, column.implicitHeight)
30
30
31 UbuntuShape {
31 UbuntuShape {
32 id: avatar
32 id: avatar
@@ -70,6 +70,7 @@ PreviewWidget {
70 text: widgetData["subtitle"] || ""
70 text: widgetData["subtitle"] || ""
71 fontSize: "xx-small"
71 fontSize: "xx-small"
72 maximumLineCount: 1
72 maximumLineCount: 1
73+ elide: Text.ElideRight
73 }
74 }
74 Label {
75 Label {
75 width: parent.width
76 width: parent.width