diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-08-14 16:15:31 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-14 16:15:31 -0500 |
| commit | 3483b8dbec4d723262861ce91ca175647494c287 (patch) | |
| tree | ce1e2d78aeffa643e92584bda42c88b612eb695d /components/InputMulti.qml | |
| parent | eece475fb8daa572df03352fe3950a7d950fc1ce (diff) | |
| parent | 034f83bfb3982bce8203fbda933248810f673868 (diff) | |
| download | monzero-gui-3483b8dbec4d723262861ce91ca175647494c287.tar.gz monzero-gui-3483b8dbec4d723262861ce91ca175647494c287.tar.xz monzero-gui-3483b8dbec4d723262861ce91ca175647494c287.zip | |
Merge pull request #1511
Settings overhaul (27 commits by skftn)
Diffstat (limited to 'components/InputMulti.qml')
| -rw-r--r-- | components/InputMulti.qml | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/components/InputMulti.qml b/components/InputMulti.qml index b8005354..f7706d75 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -32,31 +32,25 @@ import QtQuick 2.7 import "../js/TxUtils.js" as TxUtils import "../components" as MoneroComponents - TextArea { - property bool error: false - property bool addressValidation: false - property bool wrapAnywhere: true property int fontSize: 18 * scaleRatio property bool fontBold: false + property string fontColor: MoneroComponents.Style.defaultFontColor + + property bool mouseSelection: true + property bool error: false + property bool addressValidation: false id: textArea font.family: MoneroComponents.Style.fontRegular.name + color: fontColor font.pixelSize: fontSize font.bold: fontBold horizontalAlignment: TextInput.AlignLeft - selectByMouse: true - color: MoneroComponents.Style.defaultFontColor + selectByMouse: mouseSelection selectionColor: MoneroComponents.Style.dimmedFontColor selectedTextColor: MoneroComponents.Style.defaultFontColor - wrapMode: { - if(wrapAnywhere){ - return Text.WrapAnywhere; - } else { - return Text.WordWrap; - } - } onTextChanged: { if(addressValidation){ // js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }` |
