diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-17 10:21:19 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-17 10:21:19 +0200 |
commit | 7ef07dd413a8719a96d3e79bf36cb8698478ada1 (patch) | |
tree | 7e00f5e7d1f3277bedf07a2234464475800e001b /views/calendar/qml/View.qml | |
parent | 1d5ca40f0a65fc2f6f8ae6c73cb84683504d362a (diff) | |
download | kube-7ef07dd413a8719a96d3e79bf36cb8698478ada1.tar.gz kube-7ef07dd413a8719a96d3e79bf36cb8698478ada1.zip |
Proper anchoring
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index 529f165f..05032af9 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -106,6 +106,11 @@ RowLayout { | |||
106 | 106 | ||
107 | DateSelector { | 107 | DateSelector { |
108 | id: dateSelector | 108 | id: dateSelector |
109 | anchors { | ||
110 | left: parent.left | ||
111 | right: parent.right | ||
112 | rightMargin: Kube.Units.largeSpacing | ||
113 | } | ||
109 | selectedDate: root.selectedDate | 114 | selectedDate: root.selectedDate |
110 | onSelectedDateChanged: { | 115 | onSelectedDateChanged: { |
111 | root.selectedDate = getFirstDayOfWeek(dateSelector.selectedDate) | 116 | root.selectedDate = getFirstDayOfWeek(dateSelector.selectedDate) |