aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/LineEdit.qml')
-rw-r--r--components/LineEdit.qml8
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 {