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