fix(@desktop/contacts): placeholder position updated
This commit is contained in:
parent
59510b8a0a
commit
4e42de03de
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue