GNOME Bugzilla – Bug 685070
GtkCellRendererProgress no way to set packing to expand=FALSE?
Last modified: 2018-03-26 15:25:21 UTC
Hi, I have a treeview that has a column that has GtkCellRendererProgress bars to indicate a percentage for each item row in the treeview. In some cases, the first column (which is the item label) has two lines. When this happens, the progress bars become doubly-tall, which looks kind of odd. (I'll attach a screenshot, see the 89% in the screenshot) The GtkCellLayout documentation seems to suggest that adding the following attributes to the child node of the GtkCellRendererProgress object in the XML will fix this: <cell-packing> <property name="align">True</property> <property name="expand">False</property> </cell-packing> However, when I add this to the glade XML, if I work on the file in glade some more and save out, it overwrites the cell packing additions I made. I also (really, this time!) can't figure out how there is any way to set expand to false for this widget in the glade UI, i tried the TreeView editor as well as selected the GtkCellRendererProgress from the widget list and looked through all of its properties. Am I doing something stupid or is this a bug? I can't understand a case where you'd want some of your progress bars to be 'double-wide' and some slim, it seems more desirable for them to be consistent.
Created attachment 225357 [details] screenshot showing the issue
-- 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/glade/issues/109.