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

List:       kde-devel
Subject:    Re: KNewPanner bug ?!?
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       1999-03-08 19:00:12
[Download RAW message or body]



David Faure wrote:
> 
> On Sat, Mar 06, 1999 at 11:05:45PM +0100, Matthias Elter wrote:
> > Hello
> >
> > I think I found a bug in KNewPanner but I'm not sure...perhaps I am
> > doing something wrong. I use KTMainWidget and a KNewPanner as view. The panner
> > manages a TreeView and A HTMLView. The TreeView can be toggled in the
> > slotOptionsTree() member function of my KTMainWidget:
> 
> As was suggested in another post to this list, it would be a very good idea
> to get rid of KPanner and KNewPanner, from the HEAD branch, if possible.
> QSplitter handles now more than two children, and is maintained by Troll
> Tech, which relieves a bit our shoulders.
> Can you try with QSplitter instead ?

The only problem I have with QSplitter right now is that it doesn't let
you assign headings to the widgets. I may try to rewrite KNewPanner to
use QSplitter internally (while supporting the old API). The old KPanner
class seems to me to be pretty useless as it doesn't do any of the hard
work for you.

I suspect Matthias problem here may be that the panner has zero size? I
could of course be completely wrong. Try printing out the width and
height
of the panner in each case.

Rich.

> 
> BTW : Well done for the screenshots page ! Nice work !

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

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

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