fix(CommunityIntroMessageInput): input height was set to 0

Closes #6697
This commit is contained in:
Alexandra Betouni 2022-07-29 11:00:37 +03:00 committed by Alexandra Betouni
parent 0ba35d3812
commit cbb6cd70a8
4 changed files with 8 additions and 8 deletions

View File

@ -15,11 +15,9 @@ StatusInput {
label: qsTr("Community introduction and rules")
charLimit: 1400
input.multiline: true
minimumHeight: 400
maximumHeight: 400
multiline: true
input.placeholder.text: qsTr("What new members will read before joining (eg. community rules, welcome message, etc.). Members will need to tick a check box agreeing to these rules before they are allowed to join your community.")
placeholderText: qsTr("What new members will read before joining (eg. community rules, welcome message, etc.). Members will need to tick a check box agreeing to these rules before they are allowed to join your community.")
input.placeholder.wrapMode: Text.WordWrap
input.verticalAlignment: TextEdit.AlignTop

View File

@ -15,7 +15,7 @@ StatusInput {
label: qsTr("Leaving community message")
charLimit: 80
input.placeholder.text: qsTr("The message a member will see when they leave your community")
placeholderText: qsTr("The message a member will see when they leave your community")
input.placeholder.wrapMode: Text.WordWrap
validators: [

View File

@ -142,6 +142,8 @@ StatusScrollView {
CommunityIntroMessageInput {
id: introMessageTextInput
Layout.fillWidth: true
minimumHeight: 108
maximumHeight: 108
}
CommunityOutroMessageInput {

View File

@ -128,8 +128,7 @@ StatusStackModal {
},
ColumnLayout {
id: introOutroMessageView
spacing: 12
spacing: 11
CommunityIntroMessageInput {
id: introMessageInput
input.edit.objectName: "createCommunityIntroMessageInput"
@ -137,7 +136,8 @@ StatusStackModal {
Layout.fillWidth: true
Layout.fillHeight: true
maximumHeight: 0
minimumHeight: height
maximumHeight: (height - Style.current.xlPadding)
}
CommunityOutroMessageInput {