Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1, 5.1.1, 5.2.0 Beta1 , 5.3.0
-
QCreator 2.8.1, Mac OS 10.8.4, Mac OS 10.9.2
Description
Cannot change font size for QTableWidget header in Qt 5.1.1, event if try three known ways:
1. ui->tblView->horizontalHeader()->setFont(QFont("Tahoma", 20));
2. QTableView#tblView QHeaderView::section:horizontal
{ font-size: 20px; font-family: "Tahoma"; }3. QVariant UploadedTableModel::headerData(int section, Qt::Orientation orientation, int role) const
{ if (role == Qt::FontRole) return QFont("Tahoma", 14); ... }Attachments
Issue Links
- is replaced by
-
QTBUG-37153 [Mac OS X] Can't change font for QHeaderView or QHeaderView::section on Mac OSX 10.9
- Closed
- relates to
-
QTBUG-50010 Changing font size Clips the text on header.
- Closed