1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-08 16:55:39 +02:00

CallButtonDelegate: do not show tooltip on button

This prevents clicks
Also, add Accessible element

GitLab: #601
Change-Id: Ic08d35d6e27bbdf0ec3b3eccdb5a07b5f105a777
This commit is contained in:
Sébastien Blin 2022-01-10 10:41:57 -05:00
parent b0fd803245
commit 5866504b7c

View file

@ -43,6 +43,10 @@ ItemDelegate {
icon.source: ""
text: ""
Accessible.role: Accessible.Button
Accessible.name: text
Accessible.description: text
z: index
// TODO: remove this when output volume control is implemented
@ -140,7 +144,7 @@ ItemDelegate {
// custom anchor for the tooltips
Item {
anchors.top: !isVertical ? parent.bottom : undefined
anchors.bottom: !isVertical ? parent.top : undefined
anchors.topMargin: 25
anchors.horizontalCenter: !isVertical ? parent.horizontalCenter : undefined