Merge lp:~kill-animals/ubuntu-docviewer-app/1364248-change-some-listitems-to-Subtitled into lp:ubuntu-docviewer-app/trunk

Proposed by Kill Animals
Status: Merged
Approved by: Andrew Hayzen
Approved revision: 30
Merged at revision: 31
Proposed branch: lp:~kill-animals/ubuntu-docviewer-app/1364248-change-some-listitems-to-Subtitled
Merge into: lp:ubuntu-docviewer-app/trunk
Diff against target: 33 lines (+6/-6)
1 file modified
ubuntu-docviewer-app.qml (+6/-6)
To merge this branch: bzr merge lp:~kill-animals/ubuntu-docviewer-app/1364248-change-some-listitems-to-Subtitled
Reviewer Review Type Date Requested Status
Andrew Hayzen (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+235399@code.launchpad.net

Commit message

Changed the details list items with long text contents to Subtitled, this way they can see the full string

Description of the change

Changed the details list items with long text contents to Subtitled, this way they can see the full string

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Looks good, you can now read the full path of the file and the modification date :) Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntu-docviewer-app.qml'
--- ubuntu-docviewer-app.qml 2014-03-13 18:11:54 +0000
+++ ubuntu-docviewer-app.qml 2014-09-21 09:02:55 +0000
@@ -75,23 +75,23 @@
75 Column {75 Column {
76 width: parent.width76 width: parent.width
7777
78 ListItem.SingleValue {78 ListItem.Subtitled {
79 text: i18n.tr("Location")79 text: i18n.tr("Location")
80 value: file.path80 subText: file.path
81 }81 }
82 ListItem.SingleValue {82 ListItem.SingleValue {
83 text: i18n.tr("Size")83 text: i18n.tr("Size")
84 value: Utils.printSize(file.size)84 value: Utils.printSize(file.size)
85 }85 }
8686
87 ListItem.SingleValue {87 ListItem.Subtitled {
88 text: i18n.tr("Created")88 text: i18n.tr("Created")
89 value: qsTr("%1").arg(file.creationTime.toLocaleString(Qt.locale()))89 subText: qsTr("%1").arg(file.creationTime.toLocaleString(Qt.locale()))
90 }90 }
9191
92 ListItem.SingleValue {92 ListItem.Subtitled {
93 text: i18n.tr("Last modified")93 text: i18n.tr("Last modified")
94 value: qsTr("%1").arg(file.lastModified.toLocaleString(Qt.locale()))94 subText: qsTr("%1").arg(file.lastModified.toLocaleString(Qt.locale()))
95 }95 }
9696
97 ListItem.SingleValue {97 ListItem.SingleValue {

Subscribers

People subscribed via source and target branches