Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
TableView header Customized
-
Gents;
I am trying to break the header of my table view. I assigned a title to each column using QStringList and sethorizontalheaderlabels, when using the regular <br> with a given column width, the header doesn't break and only part of it appears in the column's header. Any suggestion, please. Thank's in advance.
-
@Abderaouf Did you try to increase the height of the header?
-
@jsulm Yeah, Actually I am using a setfixedheight (100) which should be enough for 3 lines.
-
There is no html support in the itemViews. You need to use \n
-
@Christian-Ehrlicher thank you, that worked, I tried /n before :). I paid more attention now.