Fix bug in UI

This commit is contained in:
molan-git 2020-01-30 13:24:27 +01:00 committed by GitHub
parent 26e309e327
commit 5da02dd238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,10 +207,10 @@ Page {
text: description !== "" && (description.charAt(0) == '@' text: description !== "" && (description.charAt(0) == '@'
|| description.charAt( || description.charAt(
0) == '#') ? description + ' ' : '' 0) == '#') ? description + ' ' : ''
height: Math.max(250, Math.min(900, implicitHeight)) height: Math.max(300, Math.min(900, implicitHeight))
//height: implicitHeight //height: implicitHeight
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
placeholderText: qsTrId("What's on your mind?") placeholderText: qsTr("What's on your mind?")
EnterKey.onClicked: { EnterKey.onClicked: {
//tweet() //tweet()
} }
@ -362,10 +362,10 @@ Page {
ComboBox { ComboBox {
id: privacy id: privacy
anchors { anchors {
top: toot.bottom
topMargin: -Theme.paddingSmall * 2 topMargin: -Theme.paddingSmall * 2
left: btnAddImage.right left: btnAddImage.right
right: btnSend.left right: btnSend.left
bottom: parent.bottom
} }
menu: ContextMenu { menu: ContextMenu {
MenuItem { MenuItem {