Lines in CList
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Subject: Lines in CList
- Date: 12 Dec 1998 16:49:07 -0500
* The List widget has a nice clean look, with a white background.
* The CList widget looks like the cheap lined paper that one
had to use in elementary school.
I'd like to make the default appearance for the CList just
like the List widget - no lines, and with a background
of base[] instead of background[PRELIGHT]. You can see
the effect of this in the new screenshots on
http://www.gnome.org.
If you don't approve of the color change, you probably
don't like coloring for List widgets either. So, by
restoring consistency, this change will make it easier
for you to get everything right with an appropriate gtkrc.
As for the lines, I'm a little relectant to completely
get rid of them, because some people might just like
the look when one has very wide rows. (Having them
on single column lists and trees is just silly).
(Ledger-style coloring might be a slicker way
to lead the eye and anyways, such help is less needed
and less useful then many people think (*) but
anyways...)
There are two ways of preserving the lines.
- Make another hack sort of like the current one.
draw the background in base[NORMAL] and the
lines in base[ACTIVE]. It's unlikely that
anybody will ever put a clist inside a button,
and less care what that looks like when
pressed. This makes it easy to add lines back
in a gtkrc.
- Make it a widget-level option. This would
allow applications that know that there lists
would benefit from lines, and eventually, when
we get the ability to set arguments in an
RC file, allow themes to set them.
Comments?
Owen
(*) Opiniated opinion.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]