mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 15:55:23 +08: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:
committed by
Page Magnier-Slimani
parent
8af5a25607
commit
03756aedd0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user