1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-19 06:55:24 +02:00

misc: add tooltip for show preview button

Change-Id: I8b292bdb157c0fed6f873263dc97c4f7f2fa1f02
GitLab: #1337
This commit is contained in:
Sébastien Blin 2023-09-13 08:57:06 -04:00
parent 69b59ad2dd
commit bc34abc8f4
2 changed files with 2 additions and 0 deletions

View file

@ -723,6 +723,7 @@ Item {
property string showMore: qsTr("Show more")
property string showLess: qsTr("Show less")
property string showPreview: qsTr("Show preview")
property string bold: qsTr("Bold")
property string italic: qsTr("Italic")
property string strikethrough: qsTr("Strikethrough")

View file

@ -1165,6 +1165,7 @@ RowLayout {
imageColor: (hovered || showPreview) ? JamiTheme.chatViewFooterImgHoverColor : JamiTheme.chatViewFooterImgColor
hoveredColor: JamiTheme.hoveredButtonColor
pressedColor: hoveredColor
toolTipText: JamiStrings.showPreview
onClicked: {
showPreview = !showPreview;