Reorder QML files to follow coding conventions
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
This commit is contained in:
@@ -9,7 +9,6 @@ import "../../../Base/Buttons"
|
||||
HFlickableColumnPage {
|
||||
id: settingsView
|
||||
|
||||
|
||||
property var saveFuture: null
|
||||
|
||||
readonly property bool anyChange:
|
||||
@@ -19,7 +18,6 @@ HFlickableColumnPage {
|
||||
|
||||
readonly property Item keybindFocusItem: nameField.item
|
||||
|
||||
|
||||
function save() {
|
||||
if (saveFuture) saveFuture.cancel()
|
||||
|
||||
@@ -81,7 +79,6 @@ HFlickableColumnPage {
|
||||
onKeyboardAccept: save()
|
||||
onKeyboardCancel: cancel()
|
||||
|
||||
|
||||
HRoomAvatar {
|
||||
id: avatar
|
||||
roomId: chat.roomId
|
||||
@@ -117,13 +114,13 @@ HFlickableColumnPage {
|
||||
Layout.fillWidth: true
|
||||
|
||||
HScrollView {
|
||||
readonly property alias area: topicAreaIn
|
||||
|
||||
clip: true
|
||||
width: parent.width
|
||||
height:
|
||||
Math.min(topicAreaIn.implicitHeight, settingsView.height / 2)
|
||||
|
||||
readonly property alias area: topicAreaIn
|
||||
|
||||
HTextArea {
|
||||
id: topicAreaIn
|
||||
placeholderText: qsTr("This room is about...")
|
||||
|
||||
Reference in New Issue
Block a user