Hi I am trying to set row height in QCalendarWidget. I want to have 3rd week of month size bigger than other.
setRowHeight doesn't work:
Source code
QCalendarWidgetMy (QWidget *parent=0) : QCalendarWidget (parent) { view2 = qFindChild(this); }
calendar->view2->resizeColumnsToContents(); //calendar->view2->setShowGrid(true); // work
calendar->view2->verticalHeader()->setDefaultSectionSize(51);//doesn't work calendar->view2->setRowHeight ( 0, 51 ); //doesn't work calendar->view2->setRowHeight ( 1, 51 );//doesn't work calendar->view2->setRowHeight ( 2, 55 );//doesn't work
How to resize rows? Thanks in advance