1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 06:45:45 +02:00

mainview: fix the dropdown indicator behind the share button issue

Account combo box dropdown indicator will be hidden behind the
share qrcode button when the username is too long.

Gitlab: #16
Change-Id: I24d723be1f064a4e0328e262f11238b5c0d6943f
This commit is contained in:
Ming Rui Zhang 2020-08-25 15:47:20 -04:00 committed by Sébastien Blin
parent 44dba71179
commit c6b336927a

View file

@ -140,6 +140,8 @@ ComboBox {
}
Image {
id: arrowDropDown
anchors.left: textUserAliasRoot.right
anchors.verticalCenter: textUserAliasRoot.verticalCenter
@ -169,7 +171,8 @@ ComboBox {
font: textUserAliasRoot.font
elide: Text.ElideRight
elideWidth: accountComboBox.width - userImageRoot.width - settingsButton.width - qrCodeGenerateButton.width - 55
elideWidth: accountComboBox.width - userImageRoot.width - settingsButton.width
- arrowDropDown.width - qrCodeGenerateButton.width - 55
/*
@ -190,7 +193,8 @@ ComboBox {
font: textUsernameRoot.font
elide: Text.ElideRight
elideWidth: accountComboBox.width - userImageRoot.width - settingsButton.width - qrCodeGenerateButton.width - 55
elideWidth: accountComboBox.width - userImageRoot.width - settingsButton.width
- qrCodeGenerateButton.width - 55
/*