diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-07-18 15:00:53 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-07-18 16:16:46 +0200 |
| commit | 4f4d969416d2b56d0efc3b9a3c5b6d979e3b631e (patch) | |
| tree | 3f71e03d828905d7c93d77f316f528cf67257e3d /components/LineEdit.qml | |
| parent | 15c5269e350354e864e5ece458d762e76387eebe (diff) | |
| download | monzero-gui-4f4d969416d2b56d0efc3b9a3c5b6d979e3b631e.tar.gz monzero-gui-4f4d969416d2b56d0efc3b9a3c5b6d979e3b631e.tar.xz monzero-gui-4f4d969416d2b56d0efc3b9a3c5b6d979e3b631e.zip | |
Extra properties for components LineEditMulti and RemoteNodeEdit
Diffstat (limited to 'components/LineEdit.qml')
| -rw-r--r-- | components/LineEdit.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml index 8a194c12..9eb50b04 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -50,6 +50,8 @@ Item { property alias inlineButtonText: inlineButtonId.text property alias inlineIcon: inlineIcon.visible property bool copyButton: false + + property bool borderDisabled: false property string borderColor: { if(input.activeFocus){ return MoneroComponents.Style.inputBorderColorActive; @@ -57,9 +59,8 @@ Item { return MoneroComponents.Style.inputBorderColorInActive; } } - property bool borderDisabled: false + property int fontSize: 18 * scaleRatio - property bool showBorder: true property bool fontBold: false property alias fontColor: input.color property bool error: false @@ -140,6 +141,7 @@ Item { anchors.top: showingHeader ? inputLabel.bottom : parent.top anchors.topMargin: showingHeader ? 12 * scaleRatio : 2 * scaleRatio width: parent.width + clip: true Text { id: placeholderLabel @@ -200,6 +202,8 @@ Item { onEditingFinished: item.editingFinished() onAccepted: item.accepted(); onTextChanged: item.textUpdated() + topPadding: 10 * scaleRatio + bottomPadding: 10 * scaleRatio } MoneroComponents.InlineButton { |
