f-spot r4253 - in trunk: . src/Widgets



Author: rubenv
Date: Wed Aug 13 17:34:07 2008
New Revision: 4253
URL: http://svn.gnome.org/viewvc/f-spot?rev=4253&view=rev

Log:
2008-08-13  Ruben Vermeersch  <ruben savanne be>

	* src/Widgets/EditorPage.cs: Fix the widget packing, so that option
	dialogs aren't blown up.


Modified:
   trunk/ChangeLog
   trunk/src/Widgets/EditorPage.cs

Modified: trunk/src/Widgets/EditorPage.cs
==============================================================================
--- trunk/src/Widgets/EditorPage.cs	(original)
+++ trunk/src/Widgets/EditorPage.cs	Wed Aug 13 17:34:07 2008
@@ -203,13 +203,13 @@
 			// Top label
 			VBox vbox = new VBox (false, 4);
 			Label label = new Label ();
-			label.Markup = String.Format("<b>{0}</b>", editor.Label);
-			vbox.PackStart (label, true, false, 5);
+			label.Markup = String.Format("<big><b>{0}</b></big>", editor.Label);
+			vbox.PackStart (label, false, false, 5);
 
 			// Optional config widget
 			Widget config = editor.ConfigurationWidget ();
 			if (config != null) {
-				vbox.Add (config);
+				vbox.PackStart (config, true, false, 0);
 			}
 
 			// Apply / Cancel buttons
@@ -229,7 +229,7 @@
 			tool_buttons.Add (apply);
 
 			// Pack it all together
-			vbox.Add (tool_buttons);
+			vbox.PackEnd (tool_buttons, false, false, 0);
 			active_editor = vbox;
 			widgets.Add (active_editor);
 			active_editor.ShowAll ();



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