On Sun, 2005-04-24 at 13:31 +0200, Michael Ott wrote: > Hello Murray! > > > Is there any way to make GtkComboBox (or GtkCellRendererCombo) columns > > left justified? I have set the CellRenderer::xalign property to 0, but > > it doesn't seem to achieve this. The center alignment is a bit odd, for > > instance in this screenshot: > > http://www.glom.org/screenshots/glom_data_details_related.png > I think you on the rigth way. Please send some code snippet in which we > can see where you set alignment Replying a year later, because I finally found time to investigate this. I've figured out that this is caused by using expand=true with gtk_cell_layout_pack_start() with the first column. That kind of makes sense. However, GtkComboBoxEntry and GtkCellRendererCombo don't use pack_start() for the first column, and they default to expand=true. GtkComboBoxEntry uses gtk_combo_box_entry_set_text_column() and GtkCellRendererCombo use the "text-column" property. So it there anyway to set expand=true for the first columns of these combos, or should expand=false maybe be the default for them? -- Murray Cumming murrayc@xxxxxxxxxxx www.murrayc.com www.openismus.com _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list