dedup, monospace font for icons
This commit is contained in:
parent
cd45c2d9cf
commit
00838e1d64
18 changed files with 67 additions and 80 deletions
|
|
@ -28,24 +28,16 @@ Row {
|
|||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
text: {
|
||||
if (root.inhibited)
|
||||
return root.count > 0 ? "" : "";
|
||||
if (root.dnd)
|
||||
return root.count > 0 ? "" : "";
|
||||
M.BarIcon {
|
||||
icon: {
|
||||
if (root.inhibited) return root.count > 0 ? "" : "";
|
||||
if (root.dnd) return root.count > 0 ? "" : "";
|
||||
return root.count > 0 ? "" : "";
|
||||
}
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize + 2
|
||||
font.family: M.Theme.fontFamily
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Text {
|
||||
text: root.count > 0 ? String(root.count) : ""
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize
|
||||
font.family: M.Theme.fontFamily
|
||||
M.BarLabel {
|
||||
label: root.count > 0 ? String(root.count) : ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue