on xenial help sign in
Bring things closer to design
commit4c40dd858efaebbaa7f0ad46766d338e547d18e8 authorMichal Hruby <michal.mhr@gmail.com> dateFri 21 Feb 2014, 17:09 (13 years ago) parent6954905
2 files changed+5−2
qml/Dash/CardHeader.qml+3−1 qml/Dash/Previews/PreviewTextSummary.qml+2−1
qml/Dash/CardHeader.qml+3−1
@@ -90,7 +90,8 @@ Item {
9090 objectName: "titleLabel"
9191 anchors { left: parent.left; right: parent.right }
9292 elide: Text.ElideRight
93− font.weight: Font.DemiBold
93+ font.weight: Font.Normal
94+ fontSize: "small"
9495 wrapMode: Text.Wrap
9596 maximumLineCount: 2
9697 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale)
@@ -102,6 +103,7 @@ Item {
102103 objectName: "subtitleLabel"
103104 anchors { left: parent.left; right: parent.right }
104105 elide: Text.ElideRight
106+ fontSize: "small"
105107 font.weight: Font.Light
106108 visible: titleLabel.text && text
107109 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale)
qml/Dash/Previews/PreviewTextSummary.qml+2−1
@@ -59,7 +59,8 @@ PreviewWidget {
5959 }
6060 height: (!seeMore.visible || seeMore.more) ? contentHeight : contentHeight / lineCount * (maximumCollapsedLineCount - 2)
6161 clip: true
62− fontSize: "medium"
62+ fontSize: "small"
63+ lineHeight: 1.2
6364 // TODO karni: Yet another fix requiring Palette update.
6465 color: "grey" //Theme.palette.selected.backgroundText
6566 opacity: .8