hi
i am trying to set row height in QCalendarWidget
example. i want to have 3rd week of month size bigger than other. any ideas ... how can it be done ?
Printable View
hi
i am trying to set row height in QCalendarWidget
example. i want to have 3rd week of month size bigger than other. any ideas ... how can it be done ?
i try this code:
Code:
{ view2 = qFindChild<QTableView *>(this); } mycalendar = new QCalendarWidgetMy(this); mycalendar->view2->resizeColumnsToContents(); mycalendar->view2->verticalHeader()->setDefaultSectionSize(51); //mycalendar->view2->setShowGrid(true); // works mycalendar->view2->setRowHeight ( 2, 51 );
but this not working