[evolution/wip/webkit2] Explicitly center attachment bar expander vertically



commit 8237f712694d680fbf36507d97071afd3518e50f
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 18 11:48:07 2016 +0200

    Explicitly center attachment bar expander vertically
    
    To have it looking better with respect of the Save/Save All button,
    which is usually taller than the expander itself. It looks like
    the default changed in the gtk+ 3.20.x.

 e-util/e-attachment-bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-attachment-bar.c b/e-util/e-attachment-bar.c
index 8cebf96..3916d00 100644
--- a/e-util/e-attachment-bar.c
+++ b/e-util/e-attachment-bar.c
@@ -663,6 +663,7 @@ e_attachment_bar_init (EAttachmentBar *bar)
 
        widget = gtk_expander_new (NULL);
        gtk_expander_set_spacing (GTK_EXPANDER (widget), 0);
+       gtk_widget_set_valign (widget, GTK_ALIGN_CENTER);
        gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
        bar->priv->expander = g_object_ref (widget);
        gtk_widget_show (widget);


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