[gnome-boxes/wip/wizard-n-props-in-dialog2: 12/12] properties: Specify min content size on ScrolledWindow



commit 2b4c76dcbe4b1dd7a6c235169888eec70ee02741
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Nov 23 19:55:31 2014 +0000

    properties: Specify min content size on ScrolledWindow
    
    If minimum width and height are not set, ScrolledWindow hides most of
    the content.

 src/properties.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/properties.vala b/src/properties.vala
index ec1f0e9..17ddd88 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -57,6 +57,8 @@ private class Boxes.Properties: Gtk.Notebook, Boxes.UI {
             grid.column_spacing = 20;
             grid.valign = Gtk.Align.START;
             var scrolled_win = new Gtk.ScrolledWindow (null, null);
+            scrolled_win.min_content_width = 640;
+            scrolled_win.min_content_height = 480;
             scrolled_win.add (grid);
             pack_end (scrolled_win, true, true);
 


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