Important: Please read the Qt Code of Conduct -

Vertical Header In tableview Problem

  • Dear All,
    I am trying to resize the Vertical Header according to content.My table view is m_tableView.
    for this I am using the code:
    but that is not working.
    I tried something other but that is a hook only.
    Please can anyone suggest a solution.

  • Is it the width of the column you want to be bigger. If so you need to set this in the horizontal header(). And if not this, have you tried using a ItemDelegate and reimplementing the sizeHint

Log in to reply