Icon alignment fixes

This commit is contained in:
molan-git 2020-05-04 11:48:29 +02:00 committed by GitHub
parent 4832ab50f4
commit 8f87b85026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}