Remove HRichLabel component

Sparsly used and inflexible, just use HLabel
This commit is contained in:
miruka
2020-07-11 23:42:49 -04:00
parent 02982f9dc3
commit 229fbee298
5 changed files with 20 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ Rectangle {
HoverHandler { id: nameHover }
}
HRichLabel {
HLabel {
id: topicLabel
text: chat.roomInfo.topic
textFormat: Text.StyledText
@@ -103,6 +103,13 @@ Rectangle {
Layout.fillHeight: true
HoverHandler { id: topicHover }
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape:
parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
HToolTip {