1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 06:22:50 -05:00

settings: redesign

This commit is contained in:
bbedward
2025-07-24 16:02:53 -04:00
parent c6df2bc11d
commit 0e968d910d
16 changed files with 1623 additions and 1549 deletions

View File

@@ -77,31 +77,31 @@ DankModal {
anchors.margins: Theme.spacingXL
spacing: Theme.spacingL
Row {
RowLayout {
Layout.fillWidth: true
height: 40
spacing: Theme.spacingM
StyledText {
anchors.verticalCenter: parent.verticalCenter
text: "System Monitor"
font.pixelSize: Theme.fontSizeLarge + 4
font.weight: Font.Bold
color: Theme.surfaceText
Layout.alignment: Qt.AlignVCenter
}
Item {
width: parent.width - 280
height: 1
Layout.fillWidth: true // Spacer to push close button to the right
}
StyledText {
anchors.verticalCenter: parent.verticalCenter
text: SysMonitorService.processes.length + " processes"
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceVariantText
width: Math.min(implicitWidth, 120)
elide: Text.ElideRight
// Close button
DankActionButton {
circular: false
iconName: "close"
iconSize: Theme.iconSize - 4
iconColor: Theme.surfaceText
hoverColor: Qt.rgba(Theme.error.r, Theme.error.g, Theme.error.b, 0.12)
onClicked: processListModal.hide()
Layout.alignment: Qt.AlignVCenter
}
}