Re: Lines in CList




Lars Hamann <lars@gtk.org> writes:

> On Sat, Dec 12, 1998 at 04:49:07PM -0500, Owen Taylor wrote:
> 
> > 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.
> 
> I think it would be relatively easy to add an widget-(class ?)
> variable guint8 row_spacing. And to use base{NORMAL] as 
> default background. So we won't loose the old look completely.

I don't entirely understand the proposal.

We could add that parameter on a widget basis - it would be 
somewhat similar to my global boolean parameter, in that 
it would be configurable by programs now, and from the
rc file later.

But, I'm not quite sure I understand the rest.

 - Can removing the lines be done by just setting the
   row spacing to zero. Won't that make the lines
   too close together? If we can't, what advantage does 
   the have?

 - If "removing" the lines is done by setting the 
   default cell color to base[NORMAL], then the lines
   will return for cells with the background set 
   to something different. (This probably isn't much of a
   problem, perhaps it is even a good thing, since it
   would give well defined edges to rows with colored
   backgrounds)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]