[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] note on applets and size
From: Anne-Marie Mahfouf <annemarie.mahfouf () free ! fr>
Date: 2007-11-28 7:40:39
Message-ID: 200711280840.02060.annemarie.mahfouf () free ! fr
[Download RAW message or body]
Thanks for those explanations!
I was wondering about the size from config so that clears it.
Anne-Marie
On Tuesday 27 November 2007 05:59:43 pm Aaron J. Seigo wrote:
> hi all....
>
> now that we have applet handles handling sizes, remember:
>
> - applets should *not* store or retrieve their own size from config().
> Plasma::Applet does that for us.
>
> - resize to a reasonable default in the constructor (whatever that means
> for the config)
>
> - only over ride contentSizeHint if there is good reason to (e.g. aspect
> ratio is important, the systemtray, etc)
>
> - if the applet needs to resize at runtime because of changing content,
> this is ok to do. just be careful of the form factor.
>
> - setting a minimum size is a good idea for aplets that need a certain
> amount of room no matter what
_______________________________________________
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