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 width: flick.width
height: flick.height height: flick.height
verticalAlignment: Text.AlignVCenter verticalAlignment: TextEdit.AlignVCenter
selectByMouse: true selectByMouse: true
selectionColor: Theme.palette.primaryColor2 selectionColor: Theme.palette.primaryColor2
selectedTextColor: color selectedTextColor: color
@ -217,10 +217,8 @@ Item {
StatusBaseText { StatusBaseText {
id: placeholder id: placeholder
visible: (edit.text.length === 0) visible: (edit.text.length === 0)
anchors.left: parent.left anchors.fill: parent
anchors.right: parent.right verticalAlignment: parent.verticalAlignment
anchors.rightMargin: root.rightPadding
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 15 font.pixelSize: 15
elide: StatusBaseText.ElideRight elide: StatusBaseText.ElideRight
font.family: Theme.palette.baseFont.name font.family: Theme.palette.baseFont.name