From b307fa81bee7623439b75bc5d7d16dd0097dcf49 Mon Sep 17 00:00:00 2001 From: molan-git Date: Mon, 29 Jun 2020 11:23:44 +0200 Subject: [PATCH] better sizing uploaded images --- qml/pages/ConversationPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/ConversationPage.qml b/qml/pages/ConversationPage.qml index 1d3480e..a3c68ba 100644 --- a/qml/pages/ConversationPage.qml +++ b/qml/pages/ConversationPage.qml @@ -309,7 +309,7 @@ Page { height: mediaModel.count ? Theme.itemSizeExtraLarge : 0 model: mediaModel cellWidth: uploadedImages.width / 4 - cellHeight: Theme.itemSizeExtraLarge + cellHeight: isPortrait ? cellWidth : Theme.itemSizeExtraLarge delegate: BackgroundItem { id: myDelegate width: uploadedImages.cellWidth