diff --git a/resources/qml/EncryptionIndicator.qml b/resources/qml/EncryptionIndicator.qml
index 905cf934..6eb04e34 100644
--- a/resources/qml/EncryptionIndicator.qml
+++ b/resources/qml/EncryptionIndicator.qml
@@ -7,8 +7,11 @@ Rectangle {
color: "transparent"
width: 16
height: 16
- ToolTip.visible: ma.containsMouse && indicator.visible
- ToolTip.text: qsTr("Encrypted")
+ ToolTip {
+ palette: colors
+ visible: ma.containsMouse && indicator.visible
+ text: qsTr("Encrypted")
+ }
MouseArea{
id: ma
anchors.fill: parent
diff --git a/resources/qml/StatusIndicator.qml b/resources/qml/StatusIndicator.qml
index 91e8f769..3361640d 100644
--- a/resources/qml/StatusIndicator.qml
+++ b/resources/qml/StatusIndicator.qml
@@ -8,13 +8,16 @@ Rectangle {
color: "transparent"
width: 16
height: 16
- ToolTip.visible: ma.containsMouse && state != MtxEvent.Empty
- ToolTip.text: switch (state) {
- case MtxEvent.Failed: return qsTr("Failed")
- case MtxEvent.Sent: return qsTr("Sent")
- case MtxEvent.Received: return qsTr("Received")
- case MtxEvent.Read: return qsTr("Read")
- default: return ""
+ ToolTip {
+ palette: colors
+ visible: ma.containsMouse && state != MtxEvent.Empty
+ text: switch (state) {
+ case MtxEvent.Failed: return qsTr("Failed")
+ case MtxEvent.Sent: return qsTr("Sent")
+ case MtxEvent.Received: return qsTr("Received")
+ case MtxEvent.Read: return qsTr("Read")
+ default: return ""
+ }
}
MouseArea{
id: ma
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 0868c1b8..c33de470 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -54,6 +54,8 @@ RowLayout {
Layout.alignment: Qt.AlignRight | Qt.AlignTop
Layout.preferredHeight: 16
id: replyButton
+ hoverEnabled: true
+
image: ":/icons/icons/ui/mail-reply.png"
ToolTip {
@@ -68,6 +70,7 @@ RowLayout {
Layout.alignment: Qt.AlignRight | Qt.AlignTop
Layout.preferredHeight: 16
id: optionsButton
+ hoverEnabled: true
image: ":/icons/icons/ui/vertical-ellipsis.png"
ToolTip {
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index a5746703..35d41ea1 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -192,7 +192,7 @@ Item {
Rectangle {
id: chatFooter
- height: Math.max(16, aaaaa.height)
+ height: Math.max(16, footerContent.height)
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
@@ -201,7 +201,7 @@ Item {
color: colors.window
Column {
- id: aaaaa
+ id: footerContent
anchors.left: parent.left
anchors.right: parent.right
@@ -235,6 +235,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 10
anchors.right: closeReplyButton.left
+ anchors.rightMargin: 20
anchors.bottom: parent.bottom
modelData: chat.model ? chat.model.getDump(timelineManager.replyingEvent) : {}
@@ -245,8 +246,9 @@ Item {
id: closeReplyButton
anchors.right: parent.right
- anchors.rightMargin: 10
+ anchors.rightMargin: 15
anchors.top: replyPreview.top
+ hoverEnabled: true
image: ":/icons/icons/ui/remove-symbol.png"
ToolTip {
|