Hi, I'm trying to center align gtk.label object under a gtk.Image object by putting them both in a vbox and calling the set_alignment, and set_justify tasks wherever needed. When I set the label wrapping to OFF, the label gets perfectly center aligned under the text. However, I'm restricted to have label wrapping ON since the parent vbox needs to have a fixed horizontal dimension. So when I turn wrapping on, the label gets left aligned instead of being center aligned.
I've sought for help on this on #pygtk with little success so far. Any help would be appreciated. Here is the pygtk code that demonstrates the issue. http://people.sugarlabs.org/~anish/table-image-label-center-test.py One can comment out the set_wrap lines and see that the label gets center aligned under the text. -- Anish Mangal an...@sugarlabs.org _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/