[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Bug in KListViewItem::paintCell
From: Malte.Starostik () t-online ! de (Malte Starostik)
Date: 2001-06-15 20:01:11
[Download RAW message or body]
On Freitag, 15. Juni 2001 21:52, Antonio Larrosa Jiménez wrote:
> Hello,
>
> Could someone please have a look to KListViewItem::paintCell ?
> I'd say the problem I reported some days ago in this list seems to be
> there. It uses :
>
> const QPixmap *pm = listView()->viewport()->backgroundPixmap();
> if (pm && !pm->isNull())
> _cg.setBrush(QColorGroup::Base, QBrush(backgroundColor(), *pm));
>
> and I'd say that that's why it only paints the beginning of the background
> pixmap in each listview item (unless QColorGroup does some magic to get
> the offset from the contents instead of from the viewport which doesn't
> seem to work).
In principle it is correct and the offset should work. You'll see that it
works if you use a background with a large pattern (not a paper-type thing).
The initial painting works, problems arise only when scrolling. Or do I miss
something here?
-Malte
--
Wars don't determine who's right, only who's left.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic