GtkFileChooserButton: gtk_file_chooser_button_set_width_chars doesn't work.
Submitted by gno..@..il.com
Link to original bug (#775057)
Description
From what I have tried, setting any value to n_chars in:
void gtk_file_chooser_button_set_width_chars (GtkFileChooserButton *button, gint n_chars);
doesn't seem to update anything in the UI.
I think there are 2 widths here:
- labels's width-chars / max-width-chars ( priv->label )
- GtkCellRendererText's width-chars / max-width-chars ( priv->name_cell )
Updating GtkCellRendererText's max-width-chars is the one which produces the desired update in width.
Version: 3.22.x