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 711255 - GtkListBox: Expand the placeholder
GtkListBox: Expand the placeholder
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 711209
 
 
Reported: 2013-11-01 11:36 UTC by Timm Bäder
Modified: 2013-11-09 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Vertically expand the placeholde of a GtkListBox (914 bytes, patch)
2013-11-01 11:36 UTC, Timm Bäder
accepted-commit_now Details | Review

Description Timm Bäder 2013-11-01 11:36:43 UTC
Created attachment 258726 [details] [review]
Vertically expand the placeholde of a GtkListBox

Currently, the placeholder of a GtkListBox is kinda useless, it's nothing  more than a row that is shown when no rows are visible(Although it does not get packed into a GtkListBoxRow).
However, when showing something like a 'no results found' message to the user, it's common to vertically center it in the list, which is currently not possible.

Vertically expanding the placeholder over the full height of the listbox makes this possible while keeping the old behavior intact(i.e. GTK_ALIGN_START).
Comment 1 Matthias Clasen 2013-11-09 05:22:04 UTC
Review of attachment 258726 [details] [review]:

ok