QTreeView problems with horizontal scrollbar
I've inherited from QTreeView, but horizontal scrollbar is invisible even though the treeview is resized to smaller than content, but vertical scrollbar is working fine. I've set the property "setHeaderHidden()" to true. Does this effect the horizontal scroll bar.?
Thanks for your time.
No it should not. What other modifications did you do ?
How are you setting up your model ?
I figured out what was missing, i din't override resizeEvent() & i set "setHeaderHidden()" to true which hides headers. So, i just override the resizeEvent() & called the slot "resizeColumnToContents(0)" as i've only one column and scroll bars are shown as needed (default behavior).
Thanks guys & specially @SGaist