[gnome-boxes/wip/wizard-n-props-in-dialog2: 20/20] properties: Specify min content size on ScrolledWindow
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/wizard-n-props-in-dialog2: 20/20] properties: Specify min content size on ScrolledWindow
- Date: Sun, 23 Nov 2014 20:25:17 +0000 (UTC)
commit 1b85198b75734e771c948ef121613750b2cbca1c
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]