Compare commits
2 commits
d043f86269
...
69cb49c584
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69cb49c584 | ||
|
|
ee8f3d9d7b |
2 changed files with 3 additions and 6 deletions
|
|
@ -53,7 +53,7 @@ StyledButton {
|
|||
}
|
||||
return Theme.palette.basecontent;
|
||||
}
|
||||
text: `${root.laptopBattery.percentage * 100}%`
|
||||
text: `${(root.laptopBattery.percentage.toFixed(2) * 100)}%`
|
||||
}
|
||||
}
|
||||
visible: laptopBattery
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ import QtQuick
|
|||
Text {
|
||||
font.family: Theme.fontFamily
|
||||
color: Theme.palette.basecontent
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
ColorAnimation on color {
|
||||
duration: 100
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue