Commit ed419a83 authored by Aleksi Suomalainen's avatar Aleksi Suomalainen

[layout] Improve feeds page layout by handling notification widths.

parent ebe0386f
......@@ -36,7 +36,7 @@ Item {
// Day of week
Row {
id: daterow
height: 120
height: displayCurrentDate.height + 15
Label {
id: displayDayOfWeek
text: Qt.formatDateTime(wallClock.time, "dddd") + ", "
......@@ -56,7 +56,7 @@ Item {
id: displayCurrentDate
text: Qt.formatDate(wallClock.time, "d MMMM yyyy")
font.pointSize: 12
width: rootitem.width - displayDayOfWeek.width
width: rootitem.width - displayDayOfWeek.width - 20
wrapMode: Text.WordWrap
anchors {
left: displayDayOfWeek.right
......@@ -98,12 +98,13 @@ Item {
Label {
id: appSummary
text: modelData.summary
width: rootitem.width/2
font.pointSize: 10
anchors.left: appIcon.right
wrapMode: Text.Wrap
}
Label {
width: rootitem.width - appSummary.width
width: rootitem.width/2
text: modelData.body
font.pointSize: 8
wrapMode: Text.Wrap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment