~dpm/ubuntu-rssreader-app/enable-translations

« back to all changes in this revision

Viewing changes to RssFeedPage.qml

  • Committer: Tarmac
  • Author(s): Joey Chan
  • Date: 2013-09-03 16:05:14 UTC
  • mfrom: (55.1.1 ubuntu-rssreader-app)
  • Revision ID: tarmac-20130903160514-2bdefz78lg9jfrfq
what's new:
1. new grid view with new layout algorithm;
2. article items updated;

to do:
1. memory management of the new grid view;
2. read and unread indicate (need to modify the database first);
3. order articles;. Fixes: https://bugs.launchpad.net/bugs/1215343, https://bugs.launchpad.net/bugs/1218201, https://bugs.launchpad.net/bugs/1218204.

Approved by Ubuntu Phone Apps Jenkins Bot, Roman Shchekin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
                Label {
100
100
                    id: label_time
101
 
                    text: DateUtils.formatRelativeTime(i18n, model.pubdate)
 
101
                    text: DateUtils.formatRelativeTime(i18n, pubdate)
102
102
                    fontSize: "small"
103
103
                    anchors.horizontalCenter: parent.horizontalCenter
104
104
                    width: parent.width - units.gu(4)
106
106
 
107
107
                Label {
108
108
                    fontSize: "large"
109
 
                    text: model.title
 
109
                    text: title
110
110
                    anchors.horizontalCenter: parent.horizontalCenter
111
111
                    width: parent.width - units.gu(4)
112
112
                    wrapMode: Text.WrapAtWordBoundaryOrAnywhere
113
113
                }
114
114
 
115
115
                Label {
116
 
                    text: model.content
 
116
                    text: content
117
117
                    linkColor: UbuntuColors.orange // Temporary. Mb bad color, but better than dark blue.
118
118
                    anchors.horizontalCenter: parent.horizontalCenter
119
119
                    width: parent.width - units.gu(4)