GNOME Bugzilla – Bug 596767
Add more options for GtkIconView renderers
Last modified: 2018-02-10 03:32:19 UTC
Please add more options to influence GtkIconView view, as the actual is quite tough to change. To know what I'm talking about, please see this screen shot: https://bugzilla.gnome.org/attachment.cgi?id=144276 On the left is actual evolution master branch, which is using GtkIconView, and on the right is the old approach from gnome-2-28 branch, with ETree. I would like to see both same, but there doesn't seem to be a direct way to get/set GtkCellRenderer on the cell view (there is a gtk_icon_view_get_cursor, but it really isn't what I mean). Thanks in advance.
The new GtkIconView::item-padding property in 2.18 might help here: http://library.gnome.org/devel/gtk/stable/GtkIconView.html#GtkIconView--item-padding
gtk_icon_view_calculate_item_size() could also use some tuning too, though I don't have any specific suggestions yet. What I've observed from Evolution's attachment bar is the item size seems to be calculated and locked based on the first item added. If the first item is really narrow, subsequent wider items are artifically squeezed to match the width of the first item. Needs to be more adaptive.
*** Bug 619849 has been marked as a duplicate of this bug. ***
Is this only about being able to set the width of the iconview columns? If yes, I think GTK+ is already able to do that; at least, it was done with PiTiVi 0.13.4.
I think it's more about figuring out an appropriate width on its own, and perhaps also adapting its requisition as more items are added.
*** Bug 632143 has been marked as a duplicate of this bug. ***
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.