Line up text with the thumbnail

This commit is contained in:
Luca Beltrame 2015-12-17 22:25:49 +01:00
parent 857d34c422
commit 7854974891

View file

@ -239,15 +239,18 @@ Rectangle {
}
Text {
id: sizeText
anchors.left: pixItem.left
text: i18n("File size: %1", KCoreAddons.Format.formatByteSize(fileSize))
}
Text {
id: resolutionText
anchors.left: pixItem.left
text: i18n("Resolution: %1 x %2", resolution.width, resolution.height)
}
Text {
id: ratingText
anchors.left: pixItem.left
text: {
if (rating == DanbooruPost.Safe) {
@ -283,6 +286,7 @@ Rectangle {
model: danbooruModel
delegate: viewDelegate
interactive: true
focus: true
Component.onCompleted: { currentIndex = -1; forceActiveFocus()}