~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to TimeLineBaseComponent.qml

  • Committer: Tarmac
  • Author(s): Kunal Parmar
  • Date: 2014-10-10 18:43:24 UTC
  • mfrom: (489.1.4 WeekView-Devider)
  • Revision ID: tarmac-20141010184324-chp20vinvdnxak19
Resolves Bug #1248127. Fixes: https://bugs.launchpad.net/bugs/1248127.

Approved by Mihir Soni, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
                anchors {
127
127
                    fill: parent
128
128
                    leftMargin: type == ViewType.ViewTypeWeek ? units.gu(0)
129
 
                                                              : units.gu(10)
 
129
                                                              : units.gu(6)
130
130
 
131
131
                    rightMargin: type == ViewType.ViewTypeWeek ? units.gu(0)
132
 
                                                              : units.gu(4)
 
132
                                                              : units.gu(3)
133
133
                }
134
134
 
135
135
                Repeater {
150
150
                        delegate: comp
151
151
                        day: startDay.addDays(index)
152
152
 
 
153
                        Loader{
 
154
                            objectName: "weekdevider"
 
155
                            height: parent.height
 
156
                            width: units.gu(0.15)
 
157
                            sourceComponent: type == ViewType.ViewTypeWeek ? weekDeviderComponent : undefined
 
158
                        }
 
159
 
 
160
                        Component {
 
161
                            id: weekDeviderComponent
 
162
                            Rectangle{
 
163
                                anchors.fill: parent
 
164
                                color: "#e5e2e2"
 
165
                            }
 
166
                        }
 
167
 
153
168
                        Connections{
154
169
                            target: mainModel
155
170
                            onStartPeriodChanged:{