Re: [Interest] QTreeView width with scroll bar

2012-11-08 Thread Tony Rietwyk
Sent: Thursday, 8 November 2012 6:40 PM On 2012/11/08 09:23 AM, Alex Strickland wrote: However, when the QTreeView gets long enough to automatically add a scroll bar - my calculations don't work and one of the check box columns is obscured by the scrollbar. How can I check if the

[Interest] QTreeView width with scroll bar

2012-11-07 Thread Alex Strickland
Hi I have a QTreeView with a couple of check boxes on the right hand side. I use resizeEvent to make sure that the check boxes are kept on the right by using width() and columnWidth() to get the first column to the correct width to make everything fit. However, when the QTreeView gets long

Re: [Interest] QTreeView width with scroll bar

2012-11-07 Thread Alex Strickland
On 2012/11/08 09:23 AM, Alex Strickland wrote: However, when the QTreeView gets long enough to automatically add a scroll bar - my calculations don't work and one of the check box columns is obscured by the scrollbar. How can I check if the scroll bar is activated and, if so, obtain it's