[easytag] Improve log area minimum size



commit e57617990f468a68a9c2bc8ee6579c53db91f141
Author: David King <amigadave amigadave com>
Date:   Wed Mar 25 16:26:36 2015 +0100

    Improve log area minimum size
    
    Do not allow the paned to shrink the log area, and set a minimum height
    on the scrolled window.

 data/log_area.ui         |    1 +
 src/application_window.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/log_area.ui b/data/log_area.ui
index 8921b4f..70c22c6 100644
--- a/data/log_area.ui
+++ b/data/log_area.ui
@@ -25,6 +25,7 @@
             <object class="GtkScrolledWindow" id="log_scrolled">
                 <property name="expand">True</property>
                 <property name="margin-left">12</property>
+                <property name="min-content-height">20</property>
                 <property name="shadow-type">etched-in</property>
                 <property name="visible">True</property>
                 <child>
diff --git a/src/application_window.c b/src/application_window.c
index 6c5eb2f..e4a8864 100644
--- a/src/application_window.c
+++ b/src/application_window.c
@@ -1727,7 +1727,7 @@ et_application_window_init (EtApplicationWindow *self)
 
     /* Log */
     priv->log_area = et_log_area_new ();
-    gtk_paned_pack2 (GTK_PANED (priv->vpaned), priv->log_area, FALSE, TRUE);
+    gtk_paned_pack2 (GTK_PANED (priv->vpaned), priv->log_area, FALSE, FALSE);
 
     /* Horizontal box for Status bar + Progress bar */
     hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);


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