a more dynamic Applet::formFactor()
Aaron J. Seigo
aseigo at kde.org
Sat Sep 25 21:16:23 CEST 2010
On Saturday, September 25, 2010, Giulio Camuffo wrote:
> > i'm not sure formfactors should be freely assigned, they are born as the
> > containment formfactor.
> > in your case it should be the containment that is Horizontal i think
> > (even fixing horizontal regardless of the location, so even in the
> > desktop)
>
> But if i put an applet directly on the desktop, outside any group, the
> right formfactor is Planar.
> It is true that popup applets expand even on Horizontal or vertical form
> factors, but setting the desktop form factor to horizontal seems to me a
> bit like a workaround.
i think that's because you are confusing formFactor for "it means it's a
panel" or "it means it's a desktop". it doesn't. formFactor refers to how
things are arranged, regardless of where the containment is in the host
application shell.
--
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 Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100925/5a5de2e9/attachment.sig
More information about the Plasma-devel
mailing list