From kde-panel-devel Wed Nov 28 07:40:39 2007 From: Anne-Marie Mahfouf Date: Wed, 28 Nov 2007 07:40:39 +0000 To: kde-panel-devel Subject: Re: [Panel-devel] note on applets and size Message-Id: <200711280840.02060.annemarie.mahfouf () free ! fr> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=119623563901632 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