1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-03-28 14:56:19 +01:00

MessageBar: show less is only visible when the context menu is open

Changed the property of ToolTipMoreButton on the messageBar to ensure that the show less
text display properly only when the context menu is open and not while holding click.

Gitlab: #1904
Change-Id: I4f74802d42e58c38abb3b64dc4277f5c1b79a5f6
This commit is contained in:
pmagnier-slimani 2025-02-13 10:47:22 -05:00 committed by Page Magnier-Slimani
parent 8af5a25607
commit 03756aedd0

View file

@ -496,9 +496,10 @@ Rectangle {
parent: showMoreButton
visible: showMoreButton.hovered && (text.length > 0)
delay: Qt.styleHints.mousePressAndHoldInterval
text: showMoreButton.down ? JamiStrings.showLess : JamiStrings.showMore
text: showMoreButton.popup.visible ? JamiStrings.showLess : JamiStrings.showMore
}
indicator: ResponsiveImage {
width: 20