refactor: chnage GasSelector Input to use anchors instead of width

This commit is contained in:
Jonathan Rainville 2020-08-19 09:36:56 -04:00 committed by Iuri Matias
parent c6d858d84a
commit d03e9807ef
2 changed files with 3 additions and 2 deletions

View File

@ -319,6 +319,7 @@ DISTFILES += \
shared/PopupMenu.qml \
shared/Identicon.qml \
shared/CopyToClipBoardButton.qml \
shared/GasSelector.qml \
shared/RoundedImage.qml \
shared/SearchBox.qml \
shared/Select.qml \

View File

@ -158,8 +158,8 @@ Item {
customHeight: 56
anchors.top: parent.top
anchors.left: parent.left
anchors.right: undefined
width: 222
anchors.right: inputGasPrice.left
anchors.rightMargin: Style.current.padding
onTextChanged: {
if (root.validate(inputGasLimit.text.trim())) {
inputGasLimit.validationError = ""