GNOME Bugzilla – Bug 775057
GtkFileChooserButton: gtk_file_chooser_button_set_width_chars doesn't work.
Last modified: 2018-05-02 17:47:50 UTC
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: 1. labels's width-chars / max-width-chars ( priv->label ) 2. 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.
Is this with all modes, or just select folder?
A user on IRC just reported no luck with this either, until they hacked into the label and used its :max-width-chars too.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/710.