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

« back to all changes in this revision

Viewing changes to MonthComponent.qml

  • Committer: carla-sella
  • Date: 2015-03-05 21:59:16 UTC
  • mto: This revision was merged to the branch mainline in revision 603.
  • Revision ID: carla.sella@gmail.com-20150305215916-zvva9nbdey38f37p
Added test_days_of_week_are_correct.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
 
149
149
            Row{
150
150
                id: dayLabelRow
 
151
                objectName: "dayLabelRow" + index
151
152
 
152
153
                property int dayWidth: width / 7;
153
154
 
230
231
 
231
232
        Label{
232
233
            id: weekDay
 
234
            objectName: "weekDay" + index
233
235
            width: parent.dayWidth
234
236
            property var day :Qt.locale().standaloneDayName(( Qt.locale().firstDayOfWeek + index), Locale.ShortFormat)
235
237
            text: isYearView ? day.charAt(0) : day;