Use Layout margins

This commit is contained in:
trilene 2020-12-19 09:32:20 -05:00 committed by Nicolas Werner
parent 07ac7b7e85
commit d315d02ee6
2 changed files with 6 additions and 2 deletions

View File

@ -35,11 +35,13 @@ Rectangle {
}
Label {
Layout.leftMargin: 8
font.pointSize: fontMetrics.font.pointSize * 1.1
text: " " + CallManager.callParty + " "
text: CallManager.callParty
}
Image {
Layout.leftMargin: 4
Layout.preferredWidth: 24
Layout.preferredHeight: 24
source: CallManager.isVideo ? "qrc:/icons/icons/ui/video-call.png" : "qrc:/icons/icons/ui/place-call.png"

View File

@ -32,11 +32,13 @@ Rectangle {
}
Label {
Layout.leftMargin: 8
font.pointSize: fontMetrics.font.pointSize * 1.1
text: " " + CallManager.callParty + " "
text: CallManager.callParty
}
Image {
Layout.leftMargin: 4
Layout.preferredWidth: 24
Layout.preferredHeight: 24
source: CallManager.isVideo ? "qrc:/icons/icons/ui/video-call.png" : "qrc:/icons/icons/ui/place-call.png"