From 8f87b85026e36997bd875a267bdeac41c30b2cb3 Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Mon, 4 May 2020 11:48:29 +0200 Subject: [PATCH] Icon alignment fixes --- qml/pages/Conversation.qml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/qml/pages/Conversation.qml b/qml/pages/Conversation.qml index 5da692c..3de2497 100644 --- a/qml/pages/Conversation.qml +++ b/qml/pages/Conversation.qml @@ -209,9 +209,9 @@ Page { 0) == '#') ? description + ' ' : '' height: Math.max(270, Math.min(900, implicitHeight)) //height: implicitHeight - horizontalAlignment: Text.AlignLeft + horizontalAlignment: Text.AlignLeft placeholderText: qsTr("What's on your mind?") - font.pixelSize: Theme.fontSizeSmall + font.pixelSize: Theme.fontSizeSmall EnterKey.onClicked: { //tweet() } @@ -306,7 +306,8 @@ Page { id: btnContentWarning anchors { - verticalCenter: privacy.verticalCenter + top: toot.bottom + topMargin: -Theme.paddingSmall * 1.5 left: parent.left leftMargin: Theme.paddingMedium } @@ -318,7 +319,8 @@ Page { id: btnAddImage enabled: mediaModel.count < 4 anchors { - verticalCenter: privacy.verticalCenter + top: toot.bottom + topMargin: -Theme.paddingSmall * 1.5 left: btnContentWarning.right leftMargin: Theme.paddingSmall } @@ -364,7 +366,7 @@ Page { id: privacy anchors { top: toot.bottom - topMargin: -Theme.paddingSmall * 2 + topMargin: -Theme.paddingSmall * 1.5 left: btnAddImage.right right: btnSend.left } @@ -390,6 +392,7 @@ Page { + (pressed ? Theme.highlightColor : Theme.primaryColor) anchors { top: toot.bottom + topMargin: -Theme.paddingSmall * 2 right: parent.right rightMargin: Theme.paddingSmall }