blob: 32b21e478cea517d562c2d88d1219864ef1545ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
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 {}
}
StyledRect {
Layout.fillWidth: true
Layout.preferredHeight: buttons.implicitHeight
color: Colours.palette.m3surfaceContainer
radius: Appearance.rounding.normal
Buttons {
id: buttons
}
}
}
}
}
|