on xenial help sign in
Different way of top aligning labels when the other one in the row is multiline

And better wrapping Unfortunately this seems to fail with Qt 5.4.2 and Qt 5.5 alpha but at least it fixes the immediate problem for Vivid

commitca6b82a33d57d0a7c8b790689825c5d867c2ef05 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 13 Apr 2015, 12:37 (12 years ago) parent6b94e55
1 file changed+2−3
qml/Dash/Previews/PreviewTable.qml+2−3
qml/Dash/Previews/PreviewTable.qml+2−3
@@ -74,9 +74,8 @@ PreviewWidget {
7474 visible: root.expanded || rowIndex < maximumCollapsedRowCount
7575 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
7676 font.bold: index == 0
77− verticalAlignment: Text.AlignTop
78− wrapMode: Text.WordWrap
79− Layout.fillHeight: true
77+ wrapMode: Text.Wrap
78+ Layout.alignment: Qt.AlignTop
8079 Layout.maximumWidth: column.width - x
8180 }
8281 }