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

List:       kde-panel-devel
Subject:    Re: a more dynamic Applet::formFactor()
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-09-26 13:53:04
Message-ID: 201009261553.05087.notmart () gmail ! com
[Download RAW message or body]

On Saturday 25 September 2010, Giulio Camuffo wrote:
> In data sabato 25 settembre 2010 21:16:23, Aaron J. Seigo ha scritto:
> > 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.
> 
> From the apidox:
> 
> Planar
> The applet lives in a plane and has two degrees of freedom to grow.
> Optimize for desktop, laptop or tablet usage: a high resolution screen 1-3
> feet distant from the viewer.
> 
> Horizontal
> The applet is constrained vertically, but can expand horizontally.
> 
> You see, an applet in a FlowGroup is constrained vertically, so the
> Horizontal form factor would be right, but an applet outside it has two
> degrees of freedom, so the Planar form factor would be right in that case.
> 
> And, on the other hand, i don't see how a new form factor would solve this
> issue, as you suggested in your other message. How can a form factor
> specify an applet it is constrained and it isn't constrained at the same
> time?

seems to behave like 2 completely different containments in one, it could 
require something like a Continment::formFactor(Applet*)

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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