Fix topic text area inside scrollview
This commit is contained in:
parent
a61951e5d5
commit
0f679956ec
|
@ -13,7 +13,7 @@ HFlickableColumnPage {
|
|||
property var saveFuture: null
|
||||
|
||||
readonly property bool anyChange:
|
||||
nameField.item.changed || topicArea.item.changed ||
|
||||
nameField.item.changed || topicArea.item.area.changed ||
|
||||
encryptCheckBox.changed || requireInviteCheckbox.changed ||
|
||||
forbidGuestsCheckBox.changed
|
||||
|
||||
|
@ -26,7 +26,7 @@ HFlickableColumnPage {
|
|||
const args = [
|
||||
chat.roomId,
|
||||
nameField.item.changed ? nameField.item.text : undefined,
|
||||
topicArea.item.changed ? topicArea.item.text : undefined,
|
||||
topicArea.item.area.changed ? topicArea.item.area.text : undefined,
|
||||
encryptCheckBox.changed ? true : undefined,
|
||||
|
||||
requireInviteCheckbox.changed ?
|
||||
|
@ -50,7 +50,7 @@ HFlickableColumnPage {
|
|||
}
|
||||
|
||||
nameField.item.reset()
|
||||
topicArea.item.reset()
|
||||
topicArea.item.area.reset()
|
||||
encryptCheckBox.reset()
|
||||
requireInviteCheckbox.reset()
|
||||
forbidGuestsCheckBox.reset()
|
||||
|
@ -123,6 +123,8 @@ HFlickableColumnPage {
|
|||
height:
|
||||
Math.min(topicAreaIn.implicitHeight, settingsView.height / 2)
|
||||
|
||||
readonly property alias area: topicAreaIn
|
||||
|
||||
HTextArea {
|
||||
id: topicAreaIn
|
||||
placeholderText: qsTr("This room is about...")
|
||||
|
|
Loading…
Reference in New Issue
Block a user