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:


    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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.