nosignal-shell/modules/lock/Content.qml
2 * r + 2 * t afb52ec506 feat: improve lock fetch
Also lock fetch is static height, media fills height instead
2026-06-02 21:36:29 +10:00

60 lines
1.1 KiB
QML

import QtQuick
import QtQuick.Layouts
import Caelestia.Config
import qs.components
import qs.services
RowLayout {
id: root
required property var lock
spacing: Tokens.spacing.largeIncreased * 2
ColumnLayout {
Layout.fillWidth: true
spacing: Tokens.spacing.medium
WeatherInfo {
Layout.fillWidth: true
rootHeight: root.height
}
Fetch {
Layout.fillWidth: true
rootHeight: root.height
}
Media {
Layout.fillWidth: true
Layout.fillHeight: true
lock: root.lock
}
}
Center {
lock: root.lock
}
ColumnLayout {
Layout.fillWidth: true
spacing: Tokens.spacing.medium
Resources {
Layout.fillWidth: true
}
StyledRect {
Layout.fillWidth: true
Layout.fillHeight: true
bottomRightRadius: Tokens.rounding.extraLarge
radius: Tokens.rounding.medium
color: Colours.tPalette.m3surfaceContainer
NotifDock {
lock: root.lock
}
}
}
}