StandardDropdown: fix margins, text overlapping

This commit is contained in:
xiphon 2020-05-01 01:30:18 +00:00
parent 4141832a4d
commit be954cc2c4

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