stat formatting
This commit is contained in:
parent
69923dbfa3
commit
ce3ec5d37b
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ StyledButton {
|
|||
when: root.showTemp
|
||||
PropertyChanges {
|
||||
text {
|
||||
text: `${(SystemInfo.cpuTemp)}℃`
|
||||
text: ` ${SystemInfo.cpuTemp.toFixed().toString().padStart(2, "_")}℃`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ StyledButton {
|
|||
when: root.showTemp
|
||||
PropertyChanges {
|
||||
text {
|
||||
text: `${(SystemInfo.gpuTemp)}℃`
|
||||
text: ` ${SystemInfo.gpuTemp.toFixed().toString().padStart(2, "_")}℃`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue