GtkCellRendererProgress no way to set packing to expand=FALSE?
Submitted by Máirín Duffy
Link to original bug (#685070)
Description
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.