Re: [Interest] QTreeView width with scroll bar

2012-11-08 Thread Alex Strickland
On 2012/11/08 12:07 PM, Tony Rietwyk wrote: > Instead of width() - scrollBarWidth, I suggest to use viewport()->width(), > which should already exclude the vertical scroll bar. Works like a charm. Thank you. -- Regards Alex ___ Interest mailing list I

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

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 w