[sound-juicer] Use GtkScrolledWindow:propagate-natural-height/width



commit 7b58e7e6a66eaf39b2979702c2107c4d5794ae88
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Sun Sep 4 19:07:14 2016 +0100

    Use GtkScrolledWindow:propagate-natural-height/width
    
    GtkScrolledWindow has reverted to returning the minimum size as the
    natural size as well. This makes the dialog too small. Use the new
    properties so the dialog is sized on the natural size of the listbox
    (clamped by the max-context-height/width properties).
    
    NB This requires Gtk from git master as the
    propagate-natural-height/width properties are not in a Gtk development
    release.

 data/sj-album-chooser-dialog.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/sj-album-chooser-dialog.ui b/data/sj-album-chooser-dialog.ui
index 9b224c7..dabeeae 100644
--- a/data/sj-album-chooser-dialog.ui
+++ b/data/sj-album-chooser-dialog.ui
@@ -43,6 +43,8 @@
             <property name="vscrollbar_policy">automatic</property>
             <property name="max-content-height">600</property>
             <property name="max-content-width">800</property>
+            <property name="propagate-natural-height">True</property>
+            <property name="propagate-natural-width">True</property>
             <property name="visible">True</property>
             <child>
               <object class="GtkListBox" id="list_box">


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