use BarLabel instead of Text
This commit is contained in:
parent
ed72d81f3b
commit
6f80224d6c
5 changed files with 14 additions and 24 deletions
|
|
@ -37,11 +37,9 @@ M.BarSection {
|
|||
color: M.Theme.base09
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Text {
|
||||
text: root.freePct + "% " + root.totalTb.toFixed(1)
|
||||
M.BarLabel {
|
||||
label: root.freePct + "% " + root.totalTb.toFixed(1)
|
||||
color: M.Theme.base09
|
||||
font.pixelSize: M.Theme.fontSize
|
||||
font.family: M.Theme.fontFamily
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue