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

@ -306,7 +306,8 @@ Page {
id: btnContentWarning id: btnContentWarning
anchors { anchors {
verticalCenter: privacy.verticalCenter top: toot.bottom
topMargin: -Theme.paddingSmall * 1.5
left: parent.left left: parent.left
leftMargin: Theme.paddingMedium leftMargin: Theme.paddingMedium
} }
@ -318,7 +319,8 @@ Page {
id: btnAddImage id: btnAddImage
enabled: mediaModel.count < 4 enabled: mediaModel.count < 4
anchors { anchors {
verticalCenter: privacy.verticalCenter top: toot.bottom
topMargin: -Theme.paddingSmall * 1.5
left: btnContentWarning.right left: btnContentWarning.right
leftMargin: Theme.paddingSmall leftMargin: Theme.paddingSmall
} }
@ -364,7 +366,7 @@ Page {
id: privacy id: privacy
anchors { anchors {
top: toot.bottom top: toot.bottom
topMargin: -Theme.paddingSmall * 2 topMargin: -Theme.paddingSmall * 1.5
left: btnAddImage.right left: btnAddImage.right
right: btnSend.left right: btnSend.left
} }
@ -390,6 +392,7 @@ Page {
+ (pressed ? Theme.highlightColor : Theme.primaryColor) + (pressed ? Theme.highlightColor : Theme.primaryColor)
anchors { anchors {
top: toot.bottom top: toot.bottom
topMargin: -Theme.paddingSmall * 2
right: parent.right right: parent.right
rightMargin: Theme.paddingSmall rightMargin: Theme.paddingSmall
} }