Re: Discussion for a more robust panel layout



On Sun, 2007-07-08 at 17:22 +0300, Kalle Vahlman wrote:
> 2007/7/8, Behdad Esfahbod <behdad behdad org>:
> > On Tue, 2007-03-20 at 16:58 +0100, Manu Cornet wrote:
> > >
> > > Recently the problem of changes of resolutions has been raised [1] on
> > > the usability list. I would like to start a discussion about how to
> > > manage the effect of resolution changes on the panel layout better
> > > than what we do today. This implies another way of storing the panel
> > > layout.
> >
> > Just store all locations as percentage of screen width/height.
> 
> That would mean creating gaps between applets when growing the width,
> unless some special "keep me next to that guy"-states exist.
> 
> I'd rather see some gravity settings ("always try to go towards the
> left edge"), since that's where you'll want to have the applets
> anyway, on the edges.

In that case just keep the gaps in a percentage of extra space
available.  You doesn't even have to be percentage.  For each gap keep a
number which is its stretchiness.  Then allocate extra space to gaps in
proportion to their stretchiness.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]