fix: ens modal wordwrap and text color

This commit is contained in:
hydr063n 2020-09-29 13:04:14 +02:00 committed by Iuri Matias
parent ef4c84afe1
commit aa43d54acc

View File

@ -28,6 +28,8 @@ ModalPopup {
//% "Once you select a username, you wont be able to disable it afterwards. You will only be able choose a different username to display."
qsTrId("once-you-select-a-username--you-won-t-be-able-to-disable-it-afterwards--you-will-only-be-able-choose-a-different-username-to-display-")
font.pixelSize: 15
wrapMode: Text.WordWrap
width: parent.width
}
StyledText {
@ -59,6 +61,14 @@ ModalPopup {
id: radioDelegate
text: username
checked: profileModel.ens.preferredUsername === username
contentItem: Text {
color: Style.current.textColor
text: radioDelegate.text
rightPadding: radioDelegate.indicator.width + radioDelegate.spacing
topPadding: Style.current.halfPadding
}
MouseArea {
anchors.fill: parent
onClicked: {