font based margin

This commit is contained in:
Marco Martin 2012-11-02 14:26:03 +01:00
parent 06f5f555a9
commit 390c97cfcb

View File

@ -142,7 +142,7 @@ Item {
anchors {
top: internal.portrait && iconSource != null ? imageLoader.bottom : parent.top
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
bottom: parent.bottom
}