Qt 6.11 is out! See what's new in the release
blog
[Solved]Delegates and resizeColumnsToContents
General and Desktop
4
Posts
2
Posters
2.0k
Views
1
Watching
-
Hi!
I have a table with content like:@state | mode
1 0
2 1@And delegate which displays data in table view as:
@state | mode
Active Auto
No response Manual@When i call resizeColumnsToContents TableView resize it to real data width which are 1, 0 ...
how let know TableView about width of content from delegateand how post tables on this forum?
-
did you override sizeHint() of your delegate implementation?