Re: [gtkmm] No spacing for empty pixbufs in a TreeViewColumn
- From: Murray Cumming <murrayc murrayc com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] No spacing for empty pixbufs in a TreeViewColumn
- Date: Sat, 26 Jun 2004 15:21:43 +0200
On Thu, 2004-06-24 at 20:29 +0200, ERDI Gergo wrote:
> On Thu, 24 Jun 2004 murrayc murrayc com wrote:
>
> >> Gtk::CellRendererText* label_renderer = new Gtk::CellRendererText;
> >> column->pack_start (col_pixbuf, false);
> >> column->pack_start (*manage (label_renderer), false);
> >
> > Doesn't it make _any_ difference when you use false instead of true for
> > that "expand" argument?
>
> If you mean the text column
No, I mean the pixbuf column. I would expect that cell to not use the
space for an empty pixbuf cell renderer when you use false.
> -- no it doesn't[*]. If I set the expand to
> true on the pixbuf column, there is a difference, as expected: when the
> treeview is resized horizontally, the pixbuf column's padding grows.
>
> [*] The documentation states that if expand is 'false' for all columns,
> the rightmost column is expanded when the treeview is resized
>
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]