Hello Qt community!
I have a QTableWidget and I don’t want its headers to resize forever.
I know that I can hide the scrollbar, but this still doesn’t solve my problem.
Let’s say that I have 3 headers in my QTableWidget, named “One”, “Two” and “Three”. I want to be able to resize each of these headers without the text of the others to be hidden. So, basically I need a minimum ‘resize rate’, which has to be set to the width that the text of each header captures.

Sorry if I am not fully understandable.
Here are an example screenshot of what I don’t want to happen:

7yHkB.png

As you see, I’ve resized “Two”, but the text of “Three” has been hidden, and I’ve turned scrollbars off. I want to be able to resize each header (column) till the point of not hiding the text of the other headers.

Thanks in advance for any help