Review Request: fix kwin tabbox shadow

Martin Gräßlin mgraesslin at kde.org
Mon Jan 7 12:06:15 UTC 2013


On Monday 07 January 2013 12:51:47 Marco Martin wrote:
> On Monday 07 January 2013, Martin Gräßlin wrote:
> > >     if that's so, then all that needs be done is to add the shadows by
> > >     name in the rendering in the tabbox. shadow-top, etc. this can be
> > >     done easily in the QML itself, and the problem would be solved.
> > 
> > erm how?
> > 
> >     PlasmaCore.FrameSvgItem {
> >     
> >         id: shadowTop
> >         imagePath: "shadow-top"
> >     
> >     }
> > 
> > and if that's possible it should be done for all the OSD and everything
> > which does not have a problem with shadows being part of the window for
> > performance reasons.
> 
> the following should work fine:
>      PlasmaCore.FrameSvgItem {
>          id: shadow
>          svg:Svg{imagePath: "shadow"}
>      }
and how to anchor it? The current code just uses:

    PlasmaCore.FrameSvgItem {
        id: background
        anchors.fill: parent
        imagePath: "dialogs/background"
    }

and I honestly have no idea how I should do it now. Also how does it affect 
the non-composited case?
> 
> --
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130107/c0861058/attachment.sig>


More information about the Plasma-devel mailing list