Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
af627a33
Commit
af627a33
authored
Jan 14, 2017
by
Sergey Chupligin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FeedsPage] fix current datetime position
parent
851844ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
FeedsPage.qml
src/qml/FeedsPage.qml
+13
-6
No files found.
src/qml/FeedsPage.qml
View file @
af627a33
...
@@ -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
R
ow
{
R
ectangle
{
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
}
}
}
}
*/
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment