kephal or qdesktopwidget
Aaron J. Seigo
aseigo at kde.org
Tue Oct 9 18:24:26 UTC 2012
On Tuesday, October 9, 2012 20:48:47 Reza Shah wrote:
> > of course .. since this is a wallpaper configuration, it should already
> > have the target size set in the render hints. does targetSizeHint()
> > return the correct value? (it should ... if not, that's a regression
> > which i would fix asap)
>
> Sorry, i'm not sure i understand this part.
wallpapers are told what the target size should be. this is very useful,
particularly when configuring things, as it tells you exactly what size, for
instance, the target containment will be.
the idea that the containment size is equal to the screen size is actually
only coincidental for plasma-desktop. it isn't necessarily true at all.
so i would recommend using those hints. relevant apidox:
http://tinyurl.com/8rjb587
http://tinyurl.com/9vmgb6m
--
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121009/f2eef0e3/attachment.sig>
More information about the Plasma-devel
mailing list