use wrapper rect

This commit is contained in:
Benjamin Palko 2025-09-07 12:21:33 -04:00
parent 112ed0d6de
commit 351fb82ac7
12 changed files with 75 additions and 91 deletions

View file

@ -5,22 +5,19 @@ import qs.utils
import QtQuick
import QtQuick.Layouts
StyledRectangle {
RowLayout {
RowLayout {
Ref {
service: SystemInfo
}
Ref {
service: SystemInfo
}
LucideIcon {
text: Styling.lucide.icons.hardDrive
}
LucideIcon {
text: Styling.lucide.icons.hardDrive
}
StyledText {
id: text
StyledText {
id: text
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
}
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
}
}