forked from AuroraMiddleware/gtk
tooltipwindow: Don't restrict minimum tooltip label length
We only care about wrapping at that length, we still want short tooltips for short labels. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3741
This commit is contained in:
parent
dd18c7dedf
commit
7871f1e13b
@ -418,7 +418,6 @@ update_label_width (GtkLabel *label)
|
||||
|
||||
len = g_utf8_strlen (text, -1);
|
||||
|
||||
gtk_label_set_width_chars (label, MIN (len, 50));
|
||||
gtk_label_set_max_width_chars (label, MIN (len, 50));
|
||||
gtk_label_set_wrap (label, TRUE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user