Merge pull request #2785

be954cc StandardDropdown: fix margins, text overlapping (xiphon)
This commit is contained in:
luigi1111 2020-05-01 15:10:49 -05:00
commit 1833c16e39
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -84,6 +84,8 @@ Item {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 12 anchors.leftMargin: 12
anchors.right: dropIndicator.left
anchors.rightMargin: 12
elide: Text.ElideRight elide: Text.ElideRight
font.family: MoneroComponents.Style.fontRegular.name font.family: MoneroComponents.Style.fontRegular.name
font.bold: dropdown.headerFontBold font.bold: dropdown.headerFontBold
@ -96,7 +98,8 @@ Item {
anchors.top: parent.top anchors.top: parent.top
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.right: parent.right anchors.right: parent.right
width: 32 anchors.rightMargin: 12
width: dropdownIcon.width
Image { Image {
id: dropdownIcon id: dropdownIcon