Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Multiple lines in a QHeaderView



  • I am trying to render multiple word-wrapped lines in a QHeaderView; my implementation of headerData() returns a string that has multiple '\n' characters in it (essentially, a word-wrapped string)

    It mostly works except for the following bug:

    !http://s30.postimg.org/4o2gtzsg1/Capture.png()!

    Single line headers are all grey whereas this header has the white gap at the top. How would I go about fixing this color issue? If I can fix this issue then I'd say I have a working solution.


Log in to reply