PDA

View Full Version : Custom QHeaderView minimal section size



achard.ju
30th September 2014, 10:36
Hello everyone.

For my project, i have a subClass of QHeaderView, passed as header to a QTreeView.

I am trying to limit resize of sections to a minimum width corresponding to the section text width.
Each section have different text, so minimum width can be different on each section.

Any idea on how can i do that?

thanks a lot.