use symbol font for symbols
This commit is contained in:
parent
207d227342
commit
b7ee4e2dbb
10 changed files with 79 additions and 32 deletions
|
|
@ -42,16 +42,21 @@ Row {
|
|||
onTriggered: proc.running = true
|
||||
}
|
||||
|
||||
Text {
|
||||
text: {
|
||||
M.BarIcon {
|
||||
icon: {
|
||||
if (root.state === "wifi")
|
||||
return " " + root.essid;
|
||||
return "";
|
||||
if (root.state === "eth")
|
||||
return "";
|
||||
if (root.state === "linked")
|
||||
return "";
|
||||
return "";
|
||||
}
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Text {
|
||||
visible: root.state === "wifi"
|
||||
text: root.essid
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize + 1
|
||||
font.family: M.Theme.fontFamily
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue