mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
InlineButton: fix warning and set font
This commit is contained in:
parent
358e1d23fa
commit
04d0b14152
2 changed files with 1 additions and 2 deletions
|
@ -49,7 +49,7 @@ Item {
|
||||||
property int rectHMargin: small ? 16 * scaleRatio : 22 * scaleRatio
|
property int rectHMargin: small ? 16 * scaleRatio : 22 * scaleRatio
|
||||||
property alias text: inlineText.text
|
property alias text: inlineText.text
|
||||||
property alias fontPixelSize: inlineText.font.pixelSize
|
property alias fontPixelSize: inlineText.font.pixelSize
|
||||||
property alias fontFamily: inlineText.font
|
property alias fontFamily: inlineText.font.family
|
||||||
property alias buttonColor: rect.color
|
property alias buttonColor: rect.color
|
||||||
signal clicked()
|
signal clicked()
|
||||||
|
|
||||||
|
|
|
@ -201,7 +201,6 @@ ColumnLayout {
|
||||||
visible: (inlineButtonId.text || inlineButtonId.icon) && inlineButtonVisible ? true : false
|
visible: (inlineButtonId.text || inlineButtonId.icon) && inlineButtonVisible ? true : false
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 8 * scaleRatio
|
anchors.rightMargin: 8 * scaleRatio
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue