initial plasmoid size?

Thomas Fjellstrom tfjellstrom at shaw.ca
Thu Jul 8 23:38:51 CEST 2010


On July 8, 2010, Thomas Fjellstrom wrote:
> On July 7, 2010, Thomas Fjellstrom wrote:
> > On July 7, 2010, Marco Martin wrote:
> > > On Wed, Jul 7, 2010 at 2:38 PM, Thomas Fjellstrom
> > > <tfjellstrom at shaw.ca>
> > 
> > wrote:
> > > > On July 7, 2010, Marco Martin wrote:
> > > >> On Wed, Jul 7, 2010 at 2:23 PM, Thomas Fjellstrom
> > > >> <tfjellstrom at shaw.ca>
> > > > 
> > > > wrote:
> > > >> > On July 7, 2010, Marco Martin wrote:
> > > >> >> On Wed, Jul 7, 2010 at 1:44 PM, Thomas Fjellstrom
> > > >> >> <tfjellstrom at shaw.ca>
> > > >> > 
> > > >> > wrote:
> > > >> >> > Now that I've got my plasmoid working somewhat decently, I've
> > > >> >> > noticed that when its on the desktop, it doesn't want to size
> > > >> >> > quite properly.
> > > >> >> > 
> > > >> >> > http://strangesoft.net/plasma-networkinfo/prototype2.png
> > > >> >> > 
> > > >> >> > What would cause that? It shows up fine in the panel as a
> > > >> >> > popup (it is a popup applet)
> > > >> >> 
> > > >> >> do you set minimum/preferred/maxcimum sizes on -any- of the
> > > >> >> widgets? and what are the size hints of that list widget?
> > > >> > 
> > > >> > I have a max height on the list widget (300px), and a sizeHint
> > > >> > on each the items in the list.
> > > >> 
> > > >> those 300px manual hint shouldn't be necessary, aanyways,
> > > >> 
> > > >> something is getting broken either a) minimumsize of the list
> > > >> -widget- (not items)
> > > >> b) broken minimum size of the whole applet (sure you don't ever
> > > >> set it?)
> > > > 
> > > > I haven't set a minimum size on anything. Just a maximum size on
> > > > the list widget to keep it from hitting the top of the screen as a
> > > > popup with my initial fake data.
> > > > 
> > > > I do have a lot of the sizePolicy's set to MinimumExpanding, could
> > > > that have this effect?
> > > 
> > > it could, please, try with other ones, like Expanding and Preferred,
> > > so we can rule out this possibility
> > 
> > That did seem to fix it. Though now its making the applet too short in
> > popup mode.
> > 
> > > _______________________________________________
> > > Plasma-devel mailing list
> > > Plasma-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/plasma-devel
> 
> In other news, my design isn't completely retarded, managed to add the
> DNS-SD support today:
> 
> http://strangesoft.net/plasma-networkinfo/prototype3.png

Nothing like replying to your own messages over and over. ;D

Just worked on making the "online/offline" display mode work:

http://strangesoft.net/plasma-networkinfo/prototype4.png

even gets the ping time.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca


More information about the Plasma-devel mailing list