Skip to content
Snippets Groups Projects
Commit 03756aed authored by Page Magnier-Slimani's avatar Page Magnier-Slimani Committed by Page Magnier-Slimani
Browse files

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
parent 8af5a256
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment