Re: Scrollbar in QTreeWidget
If the contents of the widget are too big to display then it will show the vertical scroll bar. There is no doubt about that.
You must have been doing something wrong.
Can you post some code, including the part where you layout the widgets? Maybe the UI too?
Regards
Re: Scrollbar in QTreeWidget
Try:
Code:
treeWidget->header()->setStretchLastSection(false);
treeWidget
->header
()->setResizeMode
(QHeaderView::ResizeToContents);
Re: Scrollbar in QTreeWidget
hi,
Sorry, it is my mistake.
My problem is that, when i expend the tree, then the vertical scrollbar is display, but the horizontal scrollbar is not display. I set these two properties as "ScrollBarAsNeeded".
Please help me...