[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Blurry Panel Icons
From:       Jason Stubbs <jasonbstubbs () gmail ! com>
Date:       2008-01-02 8:51:48
Message-ID: 200801021751.48335.jasonbstubbs () gmail ! com
[Download RAW message or body]

On Wednesday 02 January 2008 16:15:05 JST, Aaron J. Seigo wrote:
> On Tuesday 01 January 2008, Jason Stubbs wrote:
> > I tracked down the cause of this but forgot to respond so. There's a
> > rounding error in QGraphicsView when the scene size is equal to or
> > smaller than the view size, the scene position is negative and the scene
> > alignment is AlignCenter. Setting the scene alignment to be TopLeft (the
> > initGraphicsView function in Plasma::View) worked around it in Plasma,
> > but a bug should probably be filed upstream.
>
> ah, so we just need to set the scene alignment to be TopLeft in the panel
> then? if so, do you want to do it and get the glory or should i do it? (i'm
> off to bed right now, so it wouldn't be until morning; well a little later
> even as i have to pick my son up from the aiport tomorrow)

I did it just before heading away for a couple of days. Previously, the 
QGraphicsView setup was only happening in one of the constructors of View so 
I moved that into a separate function which both constructors call. The panel 
is at 48 pixels too.

-- 
Jason Stubbs
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic