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:
parent
8af5a25607
commit
03756aedd0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue