After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685070 - GtkCellRendererProgress no way to set packing to expand=FALSE?
GtkCellRendererProgress no way to set packing to expand=FALSE?
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-28 20:16 UTC by Máirín Duffy
Modified: 2018-03-26 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the issue (203.35 KB, image/png)
2012-09-28 20:16 UTC, Máirín Duffy
Details

Description Máirín Duffy 2012-09-28 20:16:05 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.
Comment 1 Máirín Duffy 2012-09-28 20:16:36 UTC
Created attachment 225357 [details]
screenshot showing the issue
Comment 2 GNOME Infrastructure Team 2018-03-26 15:25:21 UTC
-- 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.