diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-01-14 01:02:44 +0100 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-02-22 03:05:27 +0100 |
| commit | f329a710295deed3c15f2acff9a519c0a70e98e1 (patch) | |
| tree | 95d2b1f6b8c31826a561d74d33368c1e9ef85d42 /components/LineEdit.qml | |
| parent | 333f4aaf83bd64de02b07a56d86bbf90363e403b (diff) | |
| download | monzero-gui-f329a710295deed3c15f2acff9a519c0a70e98e1.tar.gz monzero-gui-f329a710295deed3c15f2acff9a519c0a70e98e1.tar.xz monzero-gui-f329a710295deed3c15f2acff9a519c0a70e98e1.zip | |
Wizard redesign
Diffstat (limited to 'components/LineEdit.qml')
| -rw-r--r-- | components/LineEdit.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml index b9e137bb..883066bf 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -54,7 +54,9 @@ Item { property bool borderDisabled: false property string borderColor: { - if(input.activeFocus){ + if(error && input.text !== ""){ + return MoneroComponents.Style.inputBorderColorInvalid; + } else if(input.activeFocus){ return MoneroComponents.Style.inputBorderColorActive; } else { return MoneroComponents.Style.inputBorderColorInActive; @@ -211,8 +213,6 @@ Item { visible: item.inlineButtonText ? true : false anchors.right: parent.right anchors.rightMargin: 8 * scaleRatio - anchors.top: parent.top - anchors.topMargin: 6 * scaleRatio } } } |
