Regression with label and max-width-chars in GTK3 notebooks?
- From: Ingo Brückl <ib wupperonline de>
- To: gtk-app-devel-list gnome org
- Subject: Regression with label and max-width-chars in GTK3 notebooks?
- Date: Sun, 04 Mar 2018 16:02:39 +0100
With GTK2 you could
gtk_label_set_max_width_chars(GTK_LABEL(label), 10);
gtk_notebook_append_page_menu(GTK_NOTEBOOK(notebook), child, label, NULL);
to get a label cut short to a maximum of 10 characters.
With GTK3 this seems to be ignored.
Using max-width-chars is especially useful together with something like
gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);
but this gives even stranger results with GTK3 - cut short now, but to 2
characters with an ellipse.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]