From 785497489155ed261052e387988e42bc79114655 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Thu, 17 Dec 2015 22:25:49 +0100 Subject: [PATCH] Line up text with the thumbnail --- src/qml/danbooruimageview.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qml/danbooruimageview.qml b/src/qml/danbooruimageview.qml index d4a619a..77c0e5e 100644 --- a/src/qml/danbooruimageview.qml +++ b/src/qml/danbooruimageview.qml @@ -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()}