Icon alignment fixes
This commit is contained in:
parent
4832ab50f4
commit
8f87b85026
1 changed files with 8 additions and 5 deletions
|
@ -209,9 +209,9 @@ Page {
|
||||||
0) == '#') ? description + ' ' : ''
|
0) == '#') ? description + ' ' : ''
|
||||||
height: Math.max(270, Math.min(900, implicitHeight))
|
height: Math.max(270, Math.min(900, implicitHeight))
|
||||||
//height: implicitHeight
|
//height: implicitHeight
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
placeholderText: qsTr("What's on your mind?")
|
placeholderText: qsTr("What's on your mind?")
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
EnterKey.onClicked: {
|
EnterKey.onClicked: {
|
||||||
//tweet()
|
//tweet()
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue