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

List:       kde-core-devel
Subject:    Re: Kicker ideas
From:       "Wilco Greven" <j.w.greven () student ! utwente ! nl>
Date:       2000-04-28 15:41:03
[Download RAW message or body]

On Fri, Apr 28, 2000 at 05:23:33PM +0200, Matthias Elter wrote:
> On Thu, Apr 20, 2000 at 01:50:01PM +0200, Wilco Greven wrote:
> (...)
> > While looking at how the appletpositions are stored I got the following idea.
> > At the moment the relative position of an applet with respect to the applet to
> > the right is stored. I think a better solution would be the following. The 
> > space on the panel can be divided in space occupied by applets and empty space. 
> > You could calculate the position of an applet if you know the percentage of 
> > the empty space which is on the left/upper side of the applet. 
> > 
> > It is shown in the following example. A, B, C,.... are applets, and a dash is 
> > a unit of whitespace. There are 10 dashes, So one dash makes 10%.
> > 
> > A---B-C-----D-E
> > 
> > In that case the value for A would be 0, for B 30 and for C 40.
> > 
> > This approach has the following advantages:
> > 
> > - When you work with different screen resolutions, your panel would always
> > look the same.
> > - Implementation of moving of applets would be easier. When you move an
> > applet really fast over some other applet, the positions of the applets
> > won't be switched.
> > 
> > Of course there will be disadvantages, but I can't think of one right now.
> 
> Thanks for the suggestion. While I like the idea after thinking about it I can see \
> serveral problems. All of which can be solved but this needs quite some work. It's \
> on my todo but way down as there are more important things to implement and the \
> current layout code works.

Yes, you're right. One of the problems would be what to do when all the applets
don't fit on the panel. Furthermore I didn't consider different panelsizes when
when I got the idea.

What's your opinion about the scrollable appletarea. Do you think is useful? Or
should it be avoided when possible?

> 
> Bye,
> Matthias
> 
> -- 
> Matthias Elter
> elter@kde.org
> me@caldera.de
> 


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

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