using native text

This commit is contained in:
Jeena 2015-02-04 01:26:25 +01:00
parent 58b8bdbd31
commit 6c0bf60e07
2 changed files with 30 additions and 11 deletions

View file

@ -29,27 +29,35 @@ Component {
Label {
text: feedTitle
font.pointSize: 12
textFormat: Text.PlainText
color: "gray"
wrapMode: Text.Wrap
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
renderType: Text.NativeRendering
}
Label {
text: date.toLocaleString(Qt.locale(), Locale.ShortFormat)
font.pointSize: 12
textFormat: Text.PlainText
color: "gray"
wrapMode: Text.Wrap
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
renderType: Text.NativeRendering
}
}
Label {
text: title
font.pointSize: 16
wrapMode: Text.Wrap
textFormat: Text.PlainText
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
renderType: Text.NativeRendering
width: parent.width
}
Label {
text: excerpt
font.pointSize: 12
textFormat: Text.PlainText
color: "gray"
wrapMode: Text.Wrap
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
renderType: Text.NativeRendering
width: parent.width
}
}