mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-02 03:06:26 +00:00
Add property fontBold to Labels, change default color
This commit is contained in:
parent
2556f24b8f
commit
f68ca5d76e
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue