[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Patch for KDirOperator: make columns in detailled view resizable
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-10-03 18:57:55
Message-ID: 200710032057.56255.anders () alweb ! dk
[Download RAW message or body]

On Wednesday 03 October 2007, Peter Penz wrote:
> Thanks for the patch. I'll try to integrate it until the end of this week
> and will do some tests with Kates sidebar too.

One option to get the nice sizing you want would be to use 
QAbstractItemView::sizeHintForColumn to set the sizes in the first resize 
event where rowcount() > 0, and then just leave the user to set the sizes.

Another possible improvement is to set  cascadingSectionResizes to true in the 
header, I didn't try that yet.

-- 
Anders

www: http://www.alweb.dk
jabber: anderslund@jabber.dk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic