From 04d0b141521bc7189a34657c7bb070915eb7ce22 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 23 Apr 2019 23:21:47 +0200 Subject: [PATCH] InlineButton: fix warning and set font --- components/InlineButton.qml | 2 +- components/LineEditMulti.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/InlineButton.qml b/components/InlineButton.qml index 4741a701..d949ac96 100644 --- a/components/InlineButton.qml +++ b/components/InlineButton.qml @@ -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() diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index 3689ad39..71e27c1d 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -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 } } }