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.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
ColumnLayout {
|
Column {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.margins: Appearance.padding.large
|
padding: Appearance.padding.large
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
|
|
||||||
DayOfWeekRow {
|
DayOfWeekRow {
|
||||||
id: days
|
id: days
|
||||||
|
|
||||||
Layout.topMargin: Appearance.padding.large
|
anchors.left: parent.left
|
||||||
Layout.fillWidth: true
|
anchors.right: parent.right
|
||||||
|
anchors.margins: parent.padding
|
||||||
|
|
||||||
delegate: StyledText {
|
delegate: StyledText {
|
||||||
required property var model
|
required property var model
|
||||||
|
|
@ -32,8 +33,9 @@ ColumnLayout {
|
||||||
MonthGrid {
|
MonthGrid {
|
||||||
id: grid
|
id: grid
|
||||||
|
|
||||||
Layout.bottomMargin: Appearance.padding.large
|
anchors.left: parent.left
|
||||||
Layout.fillWidth: true
|
anchors.right: parent.right
|
||||||
|
anchors.margins: parent.padding
|
||||||
|
|
||||||
spacing: 3
|
spacing: 3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue