It looks to me as though there are 3 separate problems contributing here:
1. GtkLabel does not take into account gtk_widget_set_size_request()
when reporting its "natural" size:
https://bugzilla.gnome.org/show_bug.cgi?id=662043
2. Nor does it take into account gtk_label_set_width_chars():
https://bugzilla.gnome.org/show_bug.cgi?id=665560
3. GtkWindow ignores gtk_window_set_default_size() and instead goes to
its "natural" size if the window is not resizable:
https://bugzilla.gnome.org/show_bug.cgi?id=665596
-- John
On 12/05/2011 08:56 AM, John Lindgren wrote:
This works for resizable windows. For fixed-size windows, however,
the label still does not ellipsize. I am attaching another test
case. Uncomment line 8, and suddenly the label expands to its full,
unellipsized width again.
-- John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list