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;
|
return Theme.palette.basecontent;
|
||||||
}
|
}
|
||||||
text: `${root.laptopBattery.percentage * 100}%`
|
text: `${(root.laptopBattery.percentage.toFixed(2) * 100)}%`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
visible: laptopBattery
|
visible: laptopBattery
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,7 @@ import QtQuick
|
||||||
Text {
|
Text {
|
||||||
font.family: Theme.fontFamily
|
font.family: Theme.fontFamily
|
||||||
color: Theme.palette.basecontent
|
color: Theme.palette.basecontent
|
||||||
Behavior on color {
|
ColorAnimation on color {
|
||||||
ColorAnimation {
|
duration: 100
|
||||||
duration: 200
|
|
||||||
easing.type: Easing.InOutQuad
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue