fix(@desktop/contacts): placeholder position updated

This commit is contained in:
Sale Djenic 2022-03-30 12:29:01 +02:00 committed by Michał Cieślak
parent 59510b8a0a
commit 4e42de03de
1 changed files with 3 additions and 5 deletions

View File

@ -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