[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtktreeview with expanded row
- From: Hubert Sokołowski <who_ami o2 pl>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtktreeview with expanded row
- Date: Tue, 23 Sep 2003 09:05:48 +0200 (CEST)
On Tue, 23 Sep 2003, Tim Evans wrote:
> 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.
thanks a lot, this is exactly what I need.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]