on xenial help sign in
Bring things closer to design
21c5108Michal Hruby
qml/Dash/CardHeader.qml+3−1
@@ -90,7 +90,8 @@ Item {
90 objectName: "titleLabel"
90 objectName: "titleLabel"
91 anchors { left: parent.left; right: parent.right }
91 anchors { left: parent.left; right: parent.right }
92 elide: Text.ElideRight
92 elide: Text.ElideRight
93− font.weight: Font.DemiBold
93+ font.weight: Font.Normal
94+ fontSize: "small"
94 wrapMode: Text.Wrap
95 wrapMode: Text.Wrap
95 maximumLineCount: 2
96 maximumLineCount: 2
96 fontSize: "small"
97 fontSize: "small"
@@ -103,6 +104,7 @@ Item {
103 objectName: "subtitleLabel"
104 objectName: "subtitleLabel"
104 anchors { left: parent.left; right: parent.right }
105 anchors { left: parent.left; right: parent.right }
105 elide: Text.ElideRight
106 elide: Text.ElideRight
107+ fontSize: "small"
106 font.weight: Font.Light
108 font.weight: Font.Light
107 visible: titleLabel.text && text
109 visible: titleLabel.text && text
108 fontSize: "x-small"
110 fontSize: "x-small"
qml/Dash/Previews/PreviewTextSummary.qml+2−1
@@ -58,7 +58,8 @@ PreviewWidget {
58 }
58 }
59 height: (!seeMore.visible || seeMore.more) ? contentHeight : contentHeight / lineCount * (maximumCollapsedLineCount - 2)
59 height: (!seeMore.visible || seeMore.more) ? contentHeight : contentHeight / lineCount * (maximumCollapsedLineCount - 2)
60 clip: true
60 clip: true
61− fontSize: "medium"
61+ fontSize: "small"
62+ lineHeight: 1.2
62 color: Theme.palette.selected.backgroundText
63 color: Theme.palette.selected.backgroundText
63 opacity: .8
64 opacity: .8
64 text: widgetData["text"]
65 text: widgetData["text"]