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,20 +5,17 @@ import qs.utils
import QtQuick
import QtQuick.Layouts
StyledRectangle {
RowLayout {
RowLayout {
Ref {
service: SystemInfo
}
Ref {
service: SystemInfo
}
LucideIcon {
text: Styling.lucide.icons.memoryStick
}
LucideIcon {
text: Styling.lucide.icons.memoryStick
}
StyledText {
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
}
StyledText {
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
}
}