Commit af627a33 authored by Sergey Chupligin's avatar Sergey Chupligin

[FeedsPage] fix current datetime position

parent 851844ef
...@@ -38,9 +38,18 @@ Flickable { ...@@ -38,9 +38,18 @@ Flickable {
width: parent.width width: parent.width
height: childrenRect.height height: childrenRect.height
// Day of week // Day of week
Row { Rectangle {
id: daterow id: daterow
height: displayCurrentDate.height + 15 height: displayCurrentDate.height + 15
width: childrenRect.width
anchors{
top: parent.top
horizontalCenter: parent.horizontalCenter
}
color: "transparent"
Label { Label {
id: displayDayOfWeek id: displayDayOfWeek
text: Qt.formatDateTime(wallClock.time, "dddd") + ", " text: Qt.formatDateTime(wallClock.time, "dddd") + ", "
...@@ -51,7 +60,6 @@ Flickable { ...@@ -51,7 +60,6 @@ Flickable {
top: parent.top top: parent.top
left: parent.left left: parent.left
topMargin: 30 topMargin: 30
leftMargin: 20
} }
} }
...@@ -60,7 +68,6 @@ Flickable { ...@@ -60,7 +68,6 @@ Flickable {
id: displayCurrentDate id: displayCurrentDate
text: Qt.formatDate(wallClock.time, "d MMMM yyyy") text: Qt.formatDate(wallClock.time, "d MMMM yyyy")
font.pointSize: 12 font.pointSize: 12
width: rootitem.width - displayDayOfWeek.width - 20
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
anchors { anchors {
left: displayDayOfWeek.right left: displayDayOfWeek.right
...@@ -79,8 +86,8 @@ Flickable { ...@@ -79,8 +86,8 @@ Flickable {
model: NotificationListModel { model: NotificationListModel {
id: notifmodel id: notifmodel
} }
delegate: delegate: NotificationPreview{}
MouseArea { /*MouseArea {
height: Math.max(appSummary.height,appBody.height) height: Math.max(appSummary.height,appBody.height)
width: rootitem.width width: rootitem.width
...@@ -116,7 +123,7 @@ Flickable { ...@@ -116,7 +123,7 @@ Flickable {
wrapMode: Text.Wrap wrapMode: Text.Wrap
anchors.left: appSummary.right anchors.left: appSummary.right
} }
} }*/
} }
} }
} }
......
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