Skip to content
Snippets Groups Projects
Commit c6b33692 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Sébastien Blin
Browse files

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
parent 44dba711
No related branches found
No related tags found
No related merge requests found
......@@ -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
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment