initial plasmoid size?

Marco Martin notmart at gmail.com
Wed Jul 7 14:43:17 CEST 2010


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


More information about the Plasma-devel mailing list