From 086c5c9f0239b230d75c8365da0ab365bafaf0c1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 18 May 2025 00:23:21 +0800 Subject: feat: dashboard user --- modules/dashboard/Dash.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/dashboard/Dash.qml') diff --git a/modules/dashboard/Dash.qml b/modules/dashboard/Dash.qml index 66af8cb..1631287 100644 --- a/modules/dashboard/Dash.qml +++ b/modules/dashboard/Dash.qml @@ -1,7 +1,7 @@ import "root:/widgets" import "root:/services" import "root:/config" -import Quickshell +import "dash" import QtQuick.Layouts GridLayout { @@ -11,11 +11,9 @@ GridLayout { columnSpacing: Appearance.spacing.small Rect { - text: "user" - Layout.columnSpan: 3 - Layout.preferredWidth: 300 - Layout.preferredHeight: 150 + + User {} } Rect { @@ -65,7 +63,7 @@ GridLayout { } component Rect: StyledRect { - required property string text + property string text radius: Appearance.rounding.small color: Colours.palette.m3surfaceContainer -- cgit v1.2.3-freya