[KPhotoAlbum] Grid View: extra line on bottom ?

Henner Zeller h.zeller at acm.org
Sun Apr 29 16:21:55 CEST 2007


Hi,
In the process to 'get into' the code, I am right now looking into
adding an option to the thumbnail view settings to choose the
background color (I liked the black background for thumbnails in
previous versions of kpa).

Anyway...

While reading the code (ThumbnailView/ThunmbnailWidget.cpp), I found in
paintCellBackground() around line 423 the following code:
        [...]
        p->setPen( palette().active().light() );
        p->drawLine( rect.left(), rect.bottom() -2, rect.right(),
rect.bottom()-2 );
        [...]
.. basically adding another line at the bottom of the grid.

I wonder why this is ? It makes the view more ugly because horizontal
and vertical have different thickness and color. So I am inclined
towards removing it (which indeed looks much nicer, especially with
black background), but since this looks deliberate .. anyone knows why
this is there in the first place ?
Maybe a reason that is gone ? The svn-logentry of this change 497856
(by Jesper)
"use color themes in the thumbnail viewer"
doesn't really help.

thanks,
  -henner

-- 
Henner Zeller | h.zeller at acm.org


More information about the KPhotoAlbum mailing list