diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-01-28 00:14:42 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:03 +0100 |
| commit | 49770494251a318da37849f1c628f25edaf94483 (patch) | |
| tree | 59102bc024ced24aa836ae392f3a98712a09e461 /components/InputMulti.qml | |
| parent | 53b5b7a5c7a7894c04bdedad345f733be1dd34b7 (diff) | |
| download | monzero-gui-49770494251a318da37849f1c628f25edaf94483.tar.gz monzero-gui-49770494251a318da37849f1c628f25edaf94483.tar.xz monzero-gui-49770494251a318da37849f1c628f25edaf94483.zip | |
Fixes some fonts, introduces a new checkbox and fixes 0 amount history entries
Diffstat (limited to 'components/InputMulti.qml')
| -rw-r--r-- | components/InputMulti.qml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/components/InputMulti.qml b/components/InputMulti.qml index 0f030f2d..2df797e2 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -35,14 +35,21 @@ import "." 1.0 TextArea { property bool error: false property bool addressValidation: false + property bool wrapAnywhere: true id: textArea font.family: Style.fontRegular.name font.pixelSize: 18 * scaleRatio - font.bold: true + font.bold: false horizontalAlignment: TextInput.AlignLeft selectByMouse: true color: Style.defaultFontColor - wrapMode: Text.WrapAnywhere + wrapMode: { + if(wrapAnywhere){ + return Text.WrapAnywhere; + } else { + return Text.WordWrap; + } + } onTextChanged: { if(addressValidation){ // js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }` |
