Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33855

Cannot change font size for QTableWidget header in Qt 5.1.1

XMLWordPrintable

      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); ... }

        For Gerrit Dashboard: QTBUG-33855
        # Subject Branch Project Status CR V

            dedietri Gabriel de Dietrich (drgvond)
            highlandcoffee Thanh Tran
            Votes:
            5 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes