InlineButton: fix warning and set font

This commit is contained in:
selsta 2019-04-23 23:21:47 +02:00
parent 358e1d23fa
commit 04d0b14152
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
2 changed files with 1 additions and 2 deletions

View file

@ -49,7 +49,7 @@ Item {
property int rectHMargin: small ? 16 * scaleRatio : 22 * scaleRatio
property alias text: inlineText.text
property alias fontPixelSize: inlineText.font.pixelSize
property alias fontFamily: inlineText.font
property alias fontFamily: inlineText.font.family
property alias buttonColor: rect.color
signal clicked()

View file

@ -201,7 +201,6 @@ ColumnLayout {
visible: (inlineButtonId.text || inlineButtonId.icon) && inlineButtonVisible ? true : false
anchors.right: parent.right
anchors.rightMargin: 8 * scaleRatio
anchors.verticalCenter: parent.verticalCenter
}
}
}