PDA

View Full Version : abstract scroll area



moowy
28th September 2006, 15:51
Hello.

I have a problem with a QTreeWidget. I have inside it two qabstractscrollarea-s (header, and the treewidgetitem-s from which i builded the tree) . The problem is that when I need the scrollbars they appear but, it takes the whole space (both scrollarea-s). I want it to be limited only to lower area. I tried using (on header scroll area)
header->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) ;
but it doesn't work. :(
Please help me.

jpn
28th September 2006, 16:18
What are you trying to do, actually? Could you provide a screenshot, sounds funky.. ;)

moowy
2nd October 2006, 10:15
I will provide a screenshot as soon as I can (i can't at the moment).... But u're right. It's going to be funky ... :)