From 4127200d8d515902d2133ca0cc0b5597440135a4 Mon Sep 17 00:00:00 2001
From: Nicolas <nicolas.vengeon@savoirfairelinux.com>
Date: Tue, 20 Sep 2022 11:30:38 -0400
Subject: [PATCH] EditableLineEdit: text input not aligned with label

Change-Id: I6bb5dda8364eba67c861b7d769b490bb28c5a0c7
Gitlab: #842
---
 src/app/commoncomponents/EditableLineEdit.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/app/commoncomponents/EditableLineEdit.qml b/src/app/commoncomponents/EditableLineEdit.qml
index ed99f1a4e..b0509d0f0 100644
--- a/src/app/commoncomponents/EditableLineEdit.qml
+++ b/src/app/commoncomponents/EditableLineEdit.qml
@@ -133,7 +133,7 @@ Item {
             visible: opacity
             anchors.left: row.left
             anchors.bottom: row.bottom
-            anchors.bottomMargin: 12
+            anchors.bottomMargin: row.height /5
 
             width: visible? 18 : 0
             height: 18
@@ -158,6 +158,7 @@ Item {
         MaterialLineEdit {
             id: lineEdit
             anchors.horizontalCenter: row.horizontalCenter
+            anchors.bottom: row.bottom
             width: row.width - firstIco_.width - thirdIco_.width - secIco_.width - thirdIco_.anchors.rightMargin
             readOnly: !editable || root.readOnly
             underlined: true
-- 
GitLab