diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-09-02 18:26:45 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-09-02 18:26:45 +0800 |
| commit | f7a43077fe4e139dd7e3f46f448e0951740ec148 (patch) | |
| tree | f6a68248fe42bd899e99049bab7fdb7e5d26ea60 /popups/launcher/components/IInnerComponent.qml | |
| parent | 2f7576faf493b4667b02dcb60ddbf3aa0a9f654b (diff) | |
fix: qmlfmt
IListView: animation
Diffstat (limited to 'popups/launcher/components/IInnerComponent.qml')
| -rw-r--r-- | popups/launcher/components/IInnerComponent.qml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/popups/launcher/components/IInnerComponent.qml b/popups/launcher/components/IInnerComponent.qml index 7bbc9f0..9f95592 100644 --- a/popups/launcher/components/IInnerComponent.qml +++ b/popups/launcher/components/IInnerComponent.qml @@ -5,30 +5,30 @@ import qs.components import qs.config ColumnLayout { - property bool fromParent: true - property alias titleBar: titleBar - anchors.fill: fromParent ? parent : undefined - spacing: 0 - IRect { - id: titleBar - Layout.fillWidth: true - Layout.fillHeight: false - visible: Launcher.showWidgetTitle && valid - height: childrenRect.height - width: parent.width - topLeftRadius: Launcher.widgetRadius - topRightRadius: Launcher.widgetRadius - color: Qt.rgba(Colors.background3.r, Colors.background3.g, Colors.background3.b, Launcher.widgetTitleBgTransparency) + property bool fromParent: true + property alias titleBar: titleBar + anchors.fill: fromParent ? parent : undefined + spacing: 0 + IRect { + id: titleBar + Layout.fillWidth: true + Layout.fillHeight: false + visible: Launcher.showWidgetTitle && valid + height: childrenRect.height + width: parent.width + topLeftRadius: Launcher.widgetRadius + topRightRadius: Launcher.widgetRadius + color: Qt.rgba(Colors.background3.r, Colors.background3.g, Colors.background3.b, Launcher.widgetTitleBgTransparency) - IText { - anchors { - top: parent.top - left: parent.left - leftMargin: Launcher.innerMargin - } - visible: valid - font.pixelSize: Launcher.widgetFontSize - text: name - } - } + IText { + anchors { + top: parent.top + left: parent.left + leftMargin: Launcher.innerMargin + } + visible: valid + font.pixelSize: Launcher.widgetFontSize + text: name + } + } } |
