Atanas Atanasov wrote: > Try gtk_misc_set_alignment or directly modifying the x-align and > y-align properties of the label. > No, what Chao wants is to streach out the text in a label to match the size he's decided the label is going to be. The problem with this is that its completely backwards (not impossible, just backwards)... gtk+ has a good reputation for producing well resizable applications, and the thing that mostly defines how much space a widget will take, is the text size inside the widget, and that is always locale specific etc etc. So to sum it up, generally GTK+ uses the rendered text size of a label to produce a size request in an innermost child in the hierarchy.. that size is propagated up through the heirarchy and computed against container properties such as border-width etc... untill every widget recieves its proper size allocation. Label streaching could be achived by explicitly setting the size-request of the widget you are rendering text to, and then doing some pango/cairo magic to render the text on that widget. But judging from the initial posts in this thread... I have to ask, why on earth would you want to streach the labels in a table to look more uniform ? why not justify/align them centered ? I've seen some strange UIs that have followed the misconception that streaching-to-fit thier labels were going to make the app look more balanced, it looks seriously all out-of-whack if you ask me. Cheers, -Tristan _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list