on xenial help sign in
Fix design.
3a6940bMichał Sawicz
qml/Components/ListItems/Header.qml+4−3
@@ -15,6 +15,7 @@
15 */
15 */
16
16
17import QtQuick 2.0
17import QtQuick 2.0
18+import QtQuick.Layouts 1.1
18import Ubuntu.Components 0.1
19import Ubuntu.Components 0.1
19
20
20Item {
21Item {
@@ -26,7 +27,7 @@ Item {
26
27
27 height: units.gu(5)
28 height: units.gu(5)
28
29
29− Row {
30+ RowLayout {
30 spacing: units.gu(.5)
31 spacing: units.gu(.5)
31 anchors {
32 anchors {
32 left: parent.left
33 left: parent.left
@@ -37,6 +38,7 @@ Item {
37
38
38 Label {
39 Label {
39 id: label
40 id: label
41+ Layout.fillWidth: true
40
42
41 font.family: "Ubuntu"
43 font.family: "Ubuntu"
42 fontSize: "medium"
44 fontSize: "medium"
@@ -49,8 +51,7 @@ Item {
49 Icon {
51 Icon {
50 id: icon
52 id: icon
51 visible: name != ""
53 visible: name != ""
52− anchors.bottom: label.baseline
53− height: units.gu(1)
54+ height: units.gu(2)
54 width: height
55 width: height
55 color: label.color
56 color: label.color
56 }
57 }