mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Use Text.PlainText as default for Text
This commit is contained in:
parent
03f09865e8
commit
fe6ce682bf
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ Item {
|
||||||
id: item
|
id: item
|
||||||
property alias text: label.text
|
property alias text: label.text
|
||||||
property alias color: label.color
|
property alias color: label.color
|
||||||
property alias textFormat: label.textFormat
|
property int textFormat: Text.PlainText
|
||||||
property string tipText: ""
|
property string tipText: ""
|
||||||
property int fontSize: 16 * scaleRatio
|
property int fontSize: 16 * scaleRatio
|
||||||
property bool fontBold: false
|
property bool fontBold: false
|
||||||
|
@ -65,5 +65,6 @@ Item {
|
||||||
font.bold: fontBold
|
font.bold: fontBold
|
||||||
color: fontColor
|
color: fontColor
|
||||||
onLinkActivated: item.linkActivated()
|
onLinkActivated: item.linkActivated()
|
||||||
|
textFormat: parent.textFormat
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue