Extender theming issues.

Rob Scheepmaker r.scheepmaker at student.utwente.nl
Fri Oct 10 13:26:53 CEST 2008


On Friday 10 October 2008 00:01:15 Aaron J. Seigo wrote:
> ah, i see .. i wasn't explicit enough: keep the top margin in the dialog,
> just get rid of the left/right/bottom margins.
>
> the reason for doing it this way is then you don't have to specia case
> anything when the Extender gets used in some other scenario (where painting
> the top of the first item wouldn't be desired)
>
> > And if I would use the applet's background as extenderitem
> > background, shadows would be drawn which would look a bit weird inside a
> > Plasma::Dialog.
>
> if we use a separate svg this is a non-issue; still i don't think it would
> matter in practice.

Well actually, this is an issue: in the current oxygen plasma theme, the 
background's border sizes of applet and dialog's background are different, 
because the applet's border includes shadows, and the dialog's border doesn't. 
So we would need 2 different extenderItem backgrounds to fit correctly in both 
applet and dialog. Or the dialog and applet background border have to be made 
the same. 
Hmm, actually, dialogs are always masked anyway, so the dialog's background 
svg can have the same border size as applet, since the excess part of the 
border will get masked away anyway. That approach might work... I'll just need 
some help from Pinheiro to fix the svg part of this.


More information about the Plasma-devel mailing list