fix(StatusInput): Updated status input custom height leftovers

Closes #6637
This commit is contained in:
Alexandra Betouni 2022-07-26 12:49:28 +03:00 committed by Iuri Matias
parent 375f11cae2
commit be64f60a86
10 changed files with 14 additions and 10 deletions

View File

@ -17,7 +17,8 @@ StatusInput {
placeholderText: qsTr("What your community is about")
input.multiline: true
input.implicitHeight: 88
minimumHeight: 88
maximumHeight: 88
validators: [
StatusMinLengthValidator {

View File

@ -16,7 +16,8 @@ StatusInput {
charLimit: 1400
input.multiline: true
input.implicitHeight: 400
minimumHeight: 400
maximumHeight: 400
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.")
input.placeholder.wrapMode: Text.WordWrap

View File

@ -219,7 +219,8 @@ StatusModal {
placeholderText: qsTr("Describe the channel")
input.multiline: true
input.implicitHeight: 88
minimumHeight: 88
maximumHeight: 88
validationMode: StatusInput.ValidationMode.Always
validators: [StatusMinLengthValidator {
minLength: 1

View File

@ -129,7 +129,8 @@ StatusModal {
placeholderText: qsTr("Say who you are / why you want to become a contact...")
input.multiline: true
input.implicitHeight: d.msgHeight
minimumHeight: d.msgHeight
maximumHeight: d.msgHeight
input.verticalAlignment: TextEdit.AlignTop
validators: [StatusMinLengthValidator {

View File

@ -39,7 +39,6 @@ StatusScrollView {
id: inputText
visible: (wordRandomNumber > -1)
implicitWidth: 448
input.implicitHeight: 44
validationMode: StatusInput.ValidationMode.Always
label: qsTr("Word #%1").arg(wordRandomNumber + 1)
placeholderText: qsTr("Enter word")

View File

@ -43,7 +43,6 @@ SettingsContentBase {
id: searchBox
anchors.left: parent.left
anchors.right: parent.right
input.implicitHeight: 44
placeholderText: qsTr("Search by a display name or chat key")
}

View File

@ -523,7 +523,6 @@ SettingsContentBase {
Layout.preferredWidth: root.contentWidth - 2 * Style.current.padding
Layout.leftMargin: Style.current.padding
Layout.rightMargin: Style.current.padding
input.implicitHeight: 44
placeholderText: qsTr("Search Communities, Group Chats and 1:1 Chats")
}

View File

@ -80,7 +80,8 @@ StatusModal {
anchors.topMargin: 5
input.multiline: true
placeholderText: qsTr("Provide answer to verification request from this contact.")
input.implicitHeight: 152
minimumHeight: 152
maximumHeight: 152
width: parent.width
input.verticalAlignment: TextEdit.AlignTop
leftPadding: 0

View File

@ -55,7 +55,8 @@ StatusModal {
placeholderText: qsTr("Say who you are / why you want to become a contact...")
input.multiline: true
input.implicitHeight: d.msgHeight
minimumHeight: d.msgHeight
maximumHeight: d.msgHeight
input.verticalAlignment: TextEdit.AlignTop
validators: StatusMinLengthValidator {

View File

@ -342,7 +342,8 @@ Rectangle {
Layout.rightMargin: d.contentMargins
Layout.leftMargin: d.contentMargins
input.multiline: true
input.implicitHeight: 152
minimumHeight: 152
maximumHeight: 152
placeholderText: qsTr("Ask a question that only the real %1 will be able to answer e.g. a question about a shared experience, or ask Mark to enter a code or phrase you have sent to them via a different communication channel (phone, post, etc...).").arg(userIsEnsVerified ? userEnsName : userDisplayName)
}