Commit 249eb59a authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Modified calendar dialogue layout.

parent 6adcb095
...@@ -55,7 +55,7 @@ Dialog { ...@@ -55,7 +55,7 @@ Dialog {
// center dialogue // center dialogue
x: parent.width / 2 - width / 2 x: parent.width / 2 - width / 2
y: parent.height / 2 - height / 1.2 // y: parent.height / 2 - height / 1.2
width: parent.width - 4*defaultMargin width: parent.width - 4*defaultMargin
...@@ -65,6 +65,8 @@ Dialog { ...@@ -65,6 +65,8 @@ Dialog {
standardButtons: Dialog.Ok | Dialog.Cancel standardButtons: Dialog.Ok | Dialog.Cancel
contentItem: ColumnLayout { contentItem: ColumnLayout {
width: parent.width - 4*defaultMargin
AccessibleText { AccessibleText {
id: rootText id: rootText
Layout.fillWidth: true Layout.fillWidth: true
...@@ -74,6 +76,7 @@ Dialog { ...@@ -74,6 +76,7 @@ Dialog {
} }
Calendar { Calendar {
id: calendar id: calendar
width: parent.width
} }
} // ColumnLayout } // ColumnLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment