diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-08-14 15:36:05 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-08-14 15:37:02 +0800 |
| commit | 06484d1d37b17a0a54be12e160072c23beceb3a5 (patch) | |
| tree | 043155f7783fea3ab48e61dbad261b6a123e76f0 | |
| parent | 4f69a5086f201fadddf5e8eb82e58134e43d34c1 (diff) | |
perf: RowLayout -> Row when possible
| -rw-r--r-- | bar/Resources.qml | 2 | ||||
| -rw-r--r-- | launcher/components/Clip.qml | 2 | ||||
| -rw-r--r-- | shell.qml | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/bar/Resources.qml b/bar/Resources.qml index 9d115d9..a4d2a2f 100644 --- a/bar/Resources.qml +++ b/bar/Resources.qml @@ -18,7 +18,7 @@ Item { color: Config.Colors.accent radius: Config.Style.rounding.large - RowLayout { + Row { id: layout anchors.centerIn: parent SimpleResource { diff --git a/launcher/components/Clip.qml b/launcher/components/Clip.qml index e9584e2..147d3d9 100644 --- a/launcher/components/Clip.qml +++ b/launcher/components/Clip.qml @@ -97,7 +97,7 @@ IComponent { implicitWidth: item.width implicitHeight: item.height - RowLayout { + Row { id: item spacing: Launcher.innerMargin * 2 @@ -4,7 +4,6 @@ import "bar" import "launcher" import QtQuick -import QtQuick.Layouts Scope { id: root |
