[gtk+] GtkListBox: Expand the placeholder



commit dd6f4fb7853f98fe84f4e1160f453bf925438e05
Author: Timm Bäder <mail baedert org>
Date:   Fri Nov 1 12:30:07 2013 +0100

    GtkListBox: Expand the placeholder
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711255

 gtk/gtklistbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index a4ff50a..1819794 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -2022,7 +2022,7 @@ gtk_list_box_size_allocate (GtkWidget     *widget,
     {
       gtk_widget_get_preferred_height_for_width (priv->placeholder,
                                                  allocation->width, &child_min, NULL);
-      header_allocation.height = child_min;
+      header_allocation.height = allocation->height;
       header_allocation.y = child_allocation.y;
       gtk_widget_size_allocate (priv->placeholder,
                                 &header_allocation);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]