dashboard: calendar no need for layout
This commit is contained in:
parent
95b0c2d3fe
commit
3433f9fbe9
1 changed files with 8 additions and 6 deletions
|
|
@ -5,19 +5,20 @@ import QtQuick
|
|||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
ColumnLayout {
|
||||
Column {
|
||||
id: root
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: Appearance.padding.large
|
||||
padding: Appearance.padding.large
|
||||
spacing: Appearance.spacing.small
|
||||
|
||||
DayOfWeekRow {
|
||||
id: days
|
||||
|
||||
Layout.topMargin: Appearance.padding.large
|
||||
Layout.fillWidth: true
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: parent.padding
|
||||
|
||||
delegate: StyledText {
|
||||
required property var model
|
||||
|
|
@ -32,8 +33,9 @@ ColumnLayout {
|
|||
MonthGrid {
|
||||
id: grid
|
||||
|
||||
Layout.bottomMargin: Appearance.padding.large
|
||||
Layout.fillWidth: true
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: parent.padding
|
||||
|
||||
spacing: 3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue