Fix qml formatting

pull/510/head
Nicolas Werner 4 years ago
parent 736ba5e2e8
commit 7560972cac
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 18
      resources/qml/RoomSettings.qml

@ -1,6 +1,6 @@
import Qt.labs.platform 1.1 as Platform
import QtQuick 2.9
import QtQuick.Controls 2.3
import Qt.labs.platform 1.1 as Platform
import QtQuick.Layouts 1.2
import QtQuick.Window 2.3
import im.nheko 1.0
@ -115,20 +115,20 @@ ApplicationWindow {
TextArea {
text: TimelineManager.escapeEmoji(roomSettings.roomTopic)
wrapMode: TextEdit.WordWrap
textFormat: TextEdit.RichText
wrapMode: TextEdit.WordWrap
textFormat: TextEdit.RichText
readOnly: true
background: null
selectByMouse: true
color: colors.text
horizontalAlignment: TextEdit.AlignHCenter
horizontalAlignment: TextEdit.AlignHCenter
onLinkActivated: TimelineManager.openLink(link)
onLinkActivated: TimelineManager.openLink(link);
CursorShape {
anchors.fill: parent
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
CursorShape {
anchors.fill: parent
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
}

Loading…
Cancel
Save