Re: understanding minimum/maximum/preferredSize in plasma context

2009-01-22 Thread Aaron J. Seigo
On Thursday 22 January 2009, Marcos Dione wrote: > > the kdebase patch looks right.. i actually just cleaned up that method > > the other week without touching any of the actual logic; there was code > > for changing things all over place after months of development and > > various people fiddling

Re: understanding minimum/maximum/preferredSize in plasma context

2009-01-22 Thread Marcos Dione
On Sat, Dec 27, 2008 at 05:49:49PM -0700, Aaron J. Seigo wrote: > > here are a couple of patches, one against kdelibs/plasma and the > > other for playground/base. what's insteresting about the last one is > > that as the policy is always the same, I tried to set it in the > > constructor, but

Re: understanding minimum/maximum/preferredSize in plasma context

2008-12-27 Thread Aaron J. Seigo
On Saturday 27 December 2008, Marcos Dione wrote: > On Fri, Dec 26, 2008 at 11:31:22PM -0700, Aaron J. Seigo wrote: > > On Friday 26 December 2008, Marcos Dione wrote: > > > hi all. I'm set to get the panel spacer to its previous behaviour > > > when set to auto stretch, that is, to use as much

Re: understanding minimum/maximum/preferredSize in plasma context

2008-12-27 Thread Marcos Dione
On Fri, Dec 26, 2008 at 11:31:22PM -0700, Aaron J. Seigo wrote: > On Friday 26 December 2008, Marcos Dione wrote: > > hi all. I'm set to get the panel spacer to its previous behaviour > > when set to auto stretch, that is, to use as much space as possible. > > this applet is the right code in

Re: understanding minimum/maximum/preferredSize in plasma context

2008-12-27 Thread Marco Martin
On Saturday 27 December 2008, Marcos Dione wrote: > hi all. I'm set to get the panel spacer to its previous behaviour > when set to auto stretch, that is, to use as much space as possible. > > now, the code is simple: it takes the size of the container (if it's > an horizontal panel, it tak

Re: understanding minimum/maximum/preferredSize in plasma context

2008-12-26 Thread Aaron J. Seigo
On Friday 26 December 2008, Marcos Dione wrote: > hi all. I'm set to get the panel spacer to its previous behaviour > when set to auto stretch, that is, to use as much space as possible. this applet is the right code in the wrong place. the panel ought to have an expander in its layout by def

understanding minimum/maximum/preferredSize in plasma context

2008-12-26 Thread Marcos Dione
hi all. I'm set to get the panel spacer to its previous behaviour when set to auto stretch, that is, to use as much space as possible. now, the code is simple: it takes the size of the container (if it's an horizontal panel, it takes the width), then loops through all the applets/plasmoid