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

List:       kde-panel-devel
Subject:    Re: a more dynamic Applet::formFactor()
From:       Giulio Camuffo <giuliocamuffo () gmail ! com>
Date:       2010-09-25 19:39:32
Message-ID: 201009252139.33188.giuliocamuffo () gmail ! com
[Download RAW message or body]

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?

Greets, Giulio
_______________________________________________
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