Re: [pygtk] ComboBox icon alignment (for selecting file type from icons/text)

2004-10-17 Thread John Finlay
Thomas Mills Hinkle wrote: On Sat, 16 Oct 2004 15:54:23 -0700 John Finlay [EMAIL PROTECTED] wrote: Maybe setting the xalign property to 0.0 for the CellRendererPixbuf would work assuming that the icons are all the same size. Thanks for the tip! This works very nicely. However, I now see

Re: [pygtk] ComboBox icon alignment (for selecting file type from icons/text)

2004-10-17 Thread Maciej Katafiasz
Dnia 17-10-2004, nie o godzinie 00:27 -0700, John Finlay napisa: Maybe setting the xalign property to 0.0 for the CellRendererPixbuf would work assuming that the icons are all the same size. Thanks for the tip! This works very nicely. However, I now see a stranger problem: when I

Re: [pygtk] ComboBox icon alignment (for selecting file type from icons/text)

2004-10-17 Thread Thomas Mills Hinkle
On Sun, 17 Oct 2004 00:27:29 -0700 John Finlay [EMAIL PROTECTED] wrote: It seems that you want the pixbufs and text both left aligned. For that case don't set the xalign property and set expand=False in the first pack_start() call. That does it. Thanks! I was spending my time in the wrong

Re: [pygtk] ComboBox icon alignment (for selecting file type from icons/text)

2004-10-16 Thread Thomas Mills Hinkle
On Sat, 16 Oct 2004 11:24:18 -0400 Thomas Mills Hinkle [EMAIL PROTECTED] wrote: I'm trying to create a ComboBox with icons and text for a user to select a file type. Everything works well, except that the icons are not properly aligned -- they stagger along in a wavy line rather than all