[Panel-devel] Blurry Panel Icons
Jason Stubbs
jasonbstubbs at gmail.com
Wed Jan 2 09:51:48 CET 2008
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
More information about the Panel-devel
mailing list