panel sizing of applets
Marco Martin
notmart at gmail.com
Sun Oct 19 10:15:57 CEST 2008
2008/10/19 Sebastian Kügler <sebas at kde.org>:
> In the great tradition of "dive into code before reading all your emails
> (because it's more fun)", here my issue of the day.
>
> Right now, the applets in the panel only grow smaller, but not bigger. Try
> making the panel smaller, then bigger again, and you'll get a blank area at
> the bottom (I and a couple of others on #plasma do, at least). I've been
> looking at the battery applet, which seems to expose some problem in the panel
> -- it doesn't receive constraintsEvents when resizing above its current size
> anymore.
>
> Now I'm absolutely unsure if such a case is valid, i.e. if it isn't a bug in
> the panel that we'll run into later again. So if someone can comment if this
> is expected and OK behaviour, I'll look into making the battery applet not
> expose it anymore. Not sure if it's smart, we have way enough time to do hacks
> before 4.2.0.
>
> Comments?
looks like the battery sets its own maximum size bt from the code it
doesn't seem, weeeird
since the panel is a linear layout we can't do much to avoid this
problem besides avoiding to set maximum sizes in applets when possible
and for sure never a maximum height in an horizontal panel.
in some hours will get back home so i'll can do some experiments on
the pc where i have the checkout
i'm quite puzzled because in the code seems to be nothing wrong...
> --
> sebas
>
> http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
More information about the Plasma-devel
mailing list