45 lines
964 B
QML
45 lines
964 B
QML
import "root:/widgets"
|
|
import "root:/services"
|
|
import "root:/config"
|
|
import Quickshell
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
Item {
|
|
id: root
|
|
|
|
required property ShellScreen screen
|
|
|
|
implicitWidth: child.implicitWidth
|
|
implicitHeight: screen.height * Config.winfo.sizes.heightMult
|
|
|
|
RowLayout {
|
|
id: child
|
|
|
|
anchors.fill: parent
|
|
anchors.margins: Appearance.padding.large
|
|
|
|
spacing: Appearance.spacing.normal
|
|
|
|
Preview {
|
|
screen: root.screen
|
|
}
|
|
|
|
ColumnLayout {
|
|
spacing: Appearance.spacing.normal
|
|
|
|
Layout.preferredWidth: Config.winfo.sizes.detailsWidth
|
|
Layout.fillHeight: true
|
|
|
|
StyledRect {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
color: Colours.palette.m3surfaceContainer
|
|
radius: Appearance.rounding.normal
|
|
|
|
Details {}
|
|
}
|
|
}
|
|
}
|
|
}
|