removed html, added keyboard browsing

This commit is contained in:
Jeena 2015-02-04 19:14:27 +01:00
parent 6968d8ed0e
commit 8b132bf559
5 changed files with 29 additions and 16 deletions

View file

@ -2,8 +2,10 @@ import QtQuick 2.0
import QtQuick.Controls 1.3
Component {
id: component
Item {
property int headLinefontSize: 14
property int smallfontSize: 10
id: item
height: column.height + 20
width: parent.parent.parent.width
@ -28,7 +30,7 @@ Component {
spacing: 10
Label {
text: feedTitle
font.pointSize: 12
font.pointSize: smallfontSize
textFormat: Text.PlainText
color: "gray"
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
@ -36,7 +38,7 @@ Component {
}
Label {
text: date.toLocaleString(Qt.locale(), Locale.ShortFormat)
font.pointSize: 12
font.pointSize: smallfontSize
textFormat: Text.PlainText
color: "gray"
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
@ -45,7 +47,7 @@ Component {
}
Label {
text: title
font.pointSize: 16
font.pointSize: headLinefontSize
textFormat: Text.PlainText
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
renderType: Text.NativeRendering
@ -53,7 +55,7 @@ Component {
}
Label {
text: excerpt
font.pointSize: 12
font.pointSize: smallfontSize
textFormat: Text.RichText
color: "gray"
wrapMode: Text.WrapAtWordBoundaryOrAnywhere