mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-20 21:33:43 +02:00
Add property fontBold to Labels, change default color
This commit is contained in:
parent
2556f24b8f
commit
f68ca5d76e
@ -36,6 +36,7 @@ Item {
|
||||
property alias textFormat: label.textFormat
|
||||
property string tipText: ""
|
||||
property int fontSize: 16 * scaleRatio
|
||||
property bool fontBold: false
|
||||
property alias wrapMode: label.wrapMode
|
||||
property alias horizontalAlignment: label.horizontalAlignment
|
||||
signal linkActivated()
|
||||
@ -50,7 +51,8 @@ Item {
|
||||
anchors.left: parent.left
|
||||
font.family: "Arial"
|
||||
font.pixelSize: fontSize
|
||||
color: "#555555"
|
||||
font.bold: fontBold
|
||||
color: "white"
|
||||
onLinkActivated: item.linkActivated()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user