From 43b8e433039bfd88739927a68bc46363a5b8d0cf Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Wed, 30 Mar 2022 12:29:01 +0200 Subject: [PATCH] fix(@desktop/contacts): placeholder position updated --- src/StatusQ/Controls/StatusBaseInput.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/StatusQ/Controls/StatusBaseInput.qml b/src/StatusQ/Controls/StatusBaseInput.qml index 1deec179..632019d2 100644 --- a/src/StatusQ/Controls/StatusBaseInput.qml +++ b/src/StatusQ/Controls/StatusBaseInput.qml @@ -176,7 +176,7 @@ Item { width: flick.width height: flick.height - verticalAlignment: Text.AlignVCenter + verticalAlignment: TextEdit.AlignVCenter selectByMouse: true selectionColor: Theme.palette.primaryColor2 selectedTextColor: color @@ -217,10 +217,8 @@ Item { StatusBaseText { id: placeholder visible: (edit.text.length === 0) - anchors.left: parent.left - anchors.right: parent.right - anchors.rightMargin: root.rightPadding - anchors.verticalCenter: parent.verticalCenter + anchors.fill: parent + verticalAlignment: parent.verticalAlignment font.pixelSize: 15 elide: StatusBaseText.ElideRight font.family: Theme.palette.baseFont.name