font based margin
This commit is contained in:
parent
06f5f555a9
commit
390c97cfcb
@ -142,7 +142,7 @@ Item {
|
|||||||
anchors {
|
anchors {
|
||||||
top: internal.portrait && iconSource != null ? imageLoader.bottom : parent.top
|
top: internal.portrait && iconSource != null ? imageLoader.bottom : parent.top
|
||||||
left: internal.portrait || iconSource == null ? parent.left : imageLoader.right
|
left: internal.portrait || iconSource == null ? parent.left : imageLoader.right
|
||||||
leftMargin: iconSource == null ? 0 : parent.parent.anchors.leftMargin
|
leftMargin: iconSource == null ? 0 : theme.defaultFont.mSize.width
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user