Missing bold dive numbers in dive trips on MacOSX

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue Oct 2 08:14:42 PDT 2012


Den 02.10.12 17:09, skrev Jef Driesen:
> On 2012-10-02 17:01, Henrik Brautaset Aronsen wrote:
>> Den 02.10.12 16:47, skrev Dirk Hohndel:
>>> On Oct 2, 2012, at 7:43 AM, Henrik Brautaset Aronsen wrote:
>>>> Ahh, thanks, I see it now.  Dive trips has non-bold index numbers.
>>>>
>>>> But the difference is still too subtle IMHO.    How about a line 
>>>> below (and above?) the trip?  Or different colouring?
>>> I did the bold number because that was something I could figure out 
>>> - I definitely don't think this is the ideal solution. I looked into 
>>> different background shading but could only find functions to change 
>>> the shading of ALL rows, not selected rows. I like the lines - is 
>>> that something gtk can easily do?
>>
>> I couldn't find anything on the lines, but it looks like you can
>> apply background colors to selected rows:
>> http://scentric.net/tutorial/sec-treeview-col-whole-row.html
>
> I don't remember the exact details, but with the gtk cell renderers, 
> you can customize the visual appearance of the cells in many aspects. 
> I'm pretty sure changing the background color is possible.

Yup, I just looked up GtkCellRenderer.  There's a cell-background 
property: 
http://developer.gnome.org/gtk/2.24/GtkCellRenderer.html#GtkCellRenderer--cell-background

H



More information about the subsurface mailing list