Author: fherrera
Date: 2008-02-06 11:15:30 -0500 (Wed, 06 Feb 2008)
New Revision: 95035

Modified:
   trunk/moon/plugin/ChangeLog
   trunk/moon/plugin/plugin-debug.cpp
Log:
2008-02-06  Fernando Herrera  <[EMAIL PROTECTED]>

        * plugin-debug.cpp: set default size and scroll bars policy in the
        debug window.




Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2008-02-06 16:00:20 UTC (rev 95034)
+++ trunk/moon/plugin/ChangeLog 2008-02-06 16:15:30 UTC (rev 95035)
@@ -1,3 +1,8 @@
+2008-02-06  Fernando Herrera  <[EMAIL PROTECTED]>
+
+       * plugin-debug.cpp: set default size and scroll bars policy in the
+       debug window.
+
 2008-02-05  Chris Toshok  <[EMAIL PROTECTED]>
 
        * plugin.h, plugin.cpp: add a label to the properties dialog that

Modified: trunk/moon/plugin/plugin-debug.cpp
===================================================================
--- trunk/moon/plugin/plugin-debug.cpp  2008-02-06 16:00:20 UTC (rev 95034)
+++ trunk/moon/plugin/plugin-debug.cpp  2008-02-06 16:15:30 UTC (rev 95035)
@@ -81,6 +81,7 @@
 
        GtkWidget *tree_win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title (GTK_WINDOW (tree_win), "Xaml contents");
+       gtk_window_set_default_size (GTK_WINDOW (tree_win), 300, 400);
 
        GtkTreeStore *tree_store = gtk_tree_store_new (3,
                                                       G_TYPE_STRING,
@@ -118,6 +119,9 @@
        gtk_tree_view_column_add_attribute (col, renderer, "text", 1);
 
        GtkWidget *scrolled = gtk_scrolled_window_new (NULL, NULL);
+       gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
+                                       GTK_POLICY_AUTOMATIC,
+                                       GTK_POLICY_AUTOMATIC);
 
        gtk_container_add (GTK_CONTAINER (scrolled), tree_view);
        gtk_container_add (GTK_CONTAINER (tree_win), scrolled);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to