~chris.gagnon/ubuntu-calendar-app/fix_1293489

« back to all changes in this revision

Viewing changes to MonthComponent.qml

  • Committer: Kunal Parmar
  • Date: 2014-01-11 05:59:53 UTC
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: pkunal.parmar@gmail.com-20140111055953-paqplodpu1af466y
Month Component highlight fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
            height: parent.height / parent.weekCount
99
99
 
100
100
            Loader {
101
 
                width: parent.width
 
101
                width: parent.width < parent.height ? parent.width : parent.height
102
102
                height: width
103
103
                anchors.centerIn: parent
104
104
                sourceComponent: date.isSameDay(DateExt.today()) && isCurrentMonth ? highLightComp : undefined