fix(StatusInput): Updated status input custom height leftovers
Closes #6637
This commit is contained in:
parent
375f11cae2
commit
be64f60a86
|
@ -17,7 +17,8 @@ StatusInput {
|
||||||
|
|
||||||
placeholderText: qsTr("What your community is about")
|
placeholderText: qsTr("What your community is about")
|
||||||
input.multiline: true
|
input.multiline: true
|
||||||
input.implicitHeight: 88
|
minimumHeight: 88
|
||||||
|
maximumHeight: 88
|
||||||
|
|
||||||
validators: [
|
validators: [
|
||||||
StatusMinLengthValidator {
|
StatusMinLengthValidator {
|
||||||
|
|
|
@ -16,7 +16,8 @@ StatusInput {
|
||||||
charLimit: 1400
|
charLimit: 1400
|
||||||
|
|
||||||
input.multiline: true
|
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.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
|
input.placeholder.wrapMode: Text.WordWrap
|
||||||
|
|
|
@ -219,7 +219,8 @@ StatusModal {
|
||||||
|
|
||||||
placeholderText: qsTr("Describe the channel")
|
placeholderText: qsTr("Describe the channel")
|
||||||
input.multiline: true
|
input.multiline: true
|
||||||
input.implicitHeight: 88
|
minimumHeight: 88
|
||||||
|
maximumHeight: 88
|
||||||
validationMode: StatusInput.ValidationMode.Always
|
validationMode: StatusInput.ValidationMode.Always
|
||||||
validators: [StatusMinLengthValidator {
|
validators: [StatusMinLengthValidator {
|
||||||
minLength: 1
|
minLength: 1
|
||||||
|
|
|
@ -129,7 +129,8 @@ StatusModal {
|
||||||
|
|
||||||
placeholderText: qsTr("Say who you are / why you want to become a contact...")
|
placeholderText: qsTr("Say who you are / why you want to become a contact...")
|
||||||
input.multiline: true
|
input.multiline: true
|
||||||
input.implicitHeight: d.msgHeight
|
minimumHeight: d.msgHeight
|
||||||
|
maximumHeight: d.msgHeight
|
||||||
input.verticalAlignment: TextEdit.AlignTop
|
input.verticalAlignment: TextEdit.AlignTop
|
||||||
|
|
||||||
validators: [StatusMinLengthValidator {
|
validators: [StatusMinLengthValidator {
|
||||||
|
|
|
@ -39,7 +39,6 @@ StatusScrollView {
|
||||||
id: inputText
|
id: inputText
|
||||||
visible: (wordRandomNumber > -1)
|
visible: (wordRandomNumber > -1)
|
||||||
implicitWidth: 448
|
implicitWidth: 448
|
||||||
input.implicitHeight: 44
|
|
||||||
validationMode: StatusInput.ValidationMode.Always
|
validationMode: StatusInput.ValidationMode.Always
|
||||||
label: qsTr("Word #%1").arg(wordRandomNumber + 1)
|
label: qsTr("Word #%1").arg(wordRandomNumber + 1)
|
||||||
placeholderText: qsTr("Enter word")
|
placeholderText: qsTr("Enter word")
|
||||||
|
|
|
@ -43,7 +43,6 @@ SettingsContentBase {
|
||||||
id: searchBox
|
id: searchBox
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
input.implicitHeight: 44
|
|
||||||
placeholderText: qsTr("Search by a display name or chat key")
|
placeholderText: qsTr("Search by a display name or chat key")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -523,7 +523,6 @@ SettingsContentBase {
|
||||||
Layout.preferredWidth: root.contentWidth - 2 * Style.current.padding
|
Layout.preferredWidth: root.contentWidth - 2 * Style.current.padding
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
input.implicitHeight: 44
|
|
||||||
placeholderText: qsTr("Search Communities, Group Chats and 1:1 Chats")
|
placeholderText: qsTr("Search Communities, Group Chats and 1:1 Chats")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,8 @@ StatusModal {
|
||||||
anchors.topMargin: 5
|
anchors.topMargin: 5
|
||||||
input.multiline: true
|
input.multiline: true
|
||||||
placeholderText: qsTr("Provide answer to verification request from this contact.")
|
placeholderText: qsTr("Provide answer to verification request from this contact.")
|
||||||
input.implicitHeight: 152
|
minimumHeight: 152
|
||||||
|
maximumHeight: 152
|
||||||
width: parent.width
|
width: parent.width
|
||||||
input.verticalAlignment: TextEdit.AlignTop
|
input.verticalAlignment: TextEdit.AlignTop
|
||||||
leftPadding: 0
|
leftPadding: 0
|
||||||
|
|
|
@ -55,7 +55,8 @@ StatusModal {
|
||||||
|
|
||||||
placeholderText: qsTr("Say who you are / why you want to become a contact...")
|
placeholderText: qsTr("Say who you are / why you want to become a contact...")
|
||||||
input.multiline: true
|
input.multiline: true
|
||||||
input.implicitHeight: d.msgHeight
|
minimumHeight: d.msgHeight
|
||||||
|
maximumHeight: d.msgHeight
|
||||||
input.verticalAlignment: TextEdit.AlignTop
|
input.verticalAlignment: TextEdit.AlignTop
|
||||||
|
|
||||||
validators: StatusMinLengthValidator {
|
validators: StatusMinLengthValidator {
|
||||||
|
|
|
@ -342,7 +342,8 @@ Rectangle {
|
||||||
Layout.rightMargin: d.contentMargins
|
Layout.rightMargin: d.contentMargins
|
||||||
Layout.leftMargin: d.contentMargins
|
Layout.leftMargin: d.contentMargins
|
||||||
input.multiline: true
|
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)
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue