[Gtk-sharp-list] TreeView Column positioning

Draek draekz at gmail.com
Thu Oct 26 20:17:59 EDT 2006


Hmm, thanks. I had already tried this, so I had thought. But since you
mentioned it again, I realized that I set it somewhere the wrong value.

Thanks Buddy!

Draek
Galaxium Messenger

On Thu, 2006-10-26 at 00:42 -0200, Thiago Milczarek Sayão wrote:
> You have to do this:
> 
> Gtk.TreeViewColumn expcolumn = new Gtk.TreeViewColumn ();
> expcolumn.MaxWidth = 16;
> 
> treeview.ExpanderColumn = expcolumn;
> 
> This will work :)
> 
> [ ]'ss
> 
> 
> On Wed, 2006-10-25 at 12:57 -0600, Draek wrote: 
> > I have designed a TreeView custom widget that includes an expander
> > column, and a column with custom data.
> > 
> > For some reasno, the column with the custom data is automatically pushed
> > over to the right about half an inch, and i can't seem to change that.
> > 
> > If you use GAIM, you will see what I'm talking about. The contacts in
> > the contact list are about half an inch to the right.
> > 
> > Is there a way to change this margin? Or is it basically hard coded into
> > the TreeView?
> > 
> > Example:
> > 
> > > Root
> > ------> Child Item
> > ------> Child Item
> > > Root2
> > ------> Child Item
> > 
> > the ------> i want to be more like:
> > 
> > > Root
> > --> Child Item
> > --> Child Item
> > > Root2
> > --> Child Item
> > 
> > I've tried to change the expander column width, doesn't work.
> > 
> > Any help here would be greatly appreciated.
> > 
> > Draek
> > Galaxium Messenger
> > 
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



More information about the Gtk-sharp-list mailing list