fix(@StatusListItem): fix left padding
When there is an icon, take it into account when calculating the left padding
This commit is contained in:
parent
ee18ab89dd
commit
dcee33a06d
|
@ -145,7 +145,7 @@ Rectangle {
|
|||
|
||||
anchors.left: iconOrImage.active ? iconOrImage.right : parent.left
|
||||
anchors.right: statusListItemLabel.visible ? statusListItemLabel.left : statusListItemComponentsSlot.left
|
||||
anchors.leftMargin: statusListItem.leftPadding
|
||||
anchors.leftMargin: iconOrImage.active ? 16 : statusListItem.leftPadding
|
||||
anchors.rightMargin: statusListItem.rightPadding
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
height: childrenRect.height
|
||||
|
|
Loading…
Reference in New Issue