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

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Separate QGraphicsItems for applet
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-09-01 0:05:06
Message-ID: 200708311805.11161.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 31 August 2007, Robert Knight wrote:
> > they resize the container if the minimum size required isn't met. we
> > don't do that in plasma currently.
>
> Okay, I follow.  I have not found a need to do that yet.
>
> > ah, i thought you were -also- unhappy with the fact that the default
> > implementation of contentSize() returns layout()->sizeHint().
>
> Yes I am.  What I have locally is that contentSize() is non-virtual
> and returns geometry().size() minus the size of the border.  I added a
> new virtual contentSizeHint() method which applets re-implement to
> return an ideal size for their content.

ok, i can live with that

> There were various references to contentSize() in the Applet code.
> Most of them required the actual content size, so I left them alone,

i thought you made it non-virtual?


-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


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

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