Re: gtktreeview with expanded row



Hubert Soko?owski wrote:
On Mon, 22 Sep 2003 martyn 2 russell bt com wrote:
The first is to not have another row for the description and make the
description part of the user row (just CR it to make it appear on the line
below).

but I want the description to be scaled to 0.7 of others rows.

You can still do that inside a single cell. The GtkCellRendererText has a 'markup' property, so it you set that instead of setting the 'text' property, you can use pango markup format to define what is displayed.

The markup string "username\n<small> description</small>" would be something like what you want. Make sure that the second line is completely inside the <small> tag or it won't be the right height.

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/




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