fix(@desktop/contacts): placeholder position updated

This commit is contained in:
Sale Djenic 2022-03-30 12:29:01 +02:00 committed by saledjenic
parent 2cec51ff8d
commit 43b8e43303
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