From 17b95ee0cfe062cc6f45e3a9140d4d7948f89eed Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 7 Jul 2010 23:55:50 +0100 Subject: [PATCH] [sparklediff] Change layout a bit --- SparkleDiff/RevisionView.cs | 3 +-- SparkleDiff/SparkleDiffWindow.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SparkleDiff/RevisionView.cs b/SparkleDiff/RevisionView.cs index 24e95f5e..6c13d4eb 100644 --- a/SparkleDiff/RevisionView.cs +++ b/SparkleDiff/RevisionView.cs @@ -68,11 +68,10 @@ namespace SparkleShare { ButtonNext.Clicked += NextInComboBox; ButtonNext.ExposeEvent += EqualizeSizes; - controls.PackStart (new Label (""), true, false, 0); controls.PackStart (ButtonPrevious, false, false, 0); controls.PackStart (ButtonNext, false, false, 0); - controls.PackStart (ComboBox, false, false, 9); controls.PackStart (new Label (""), true, false, 0); + controls.PackStart (ComboBox, false, false, 0); PackStart (controls, false, false, 0); PackStart (ScrolledWindow, true, true, 0); diff --git a/SparkleDiff/SparkleDiffWindow.cs b/SparkleDiff/SparkleDiffWindow.cs index bf27f823..e3098111 100644 --- a/SparkleDiff/SparkleDiffWindow.cs +++ b/SparkleDiff/SparkleDiffWindow.cs @@ -161,7 +161,7 @@ namespace SparkleShare { private void ResizeToViews () { - int new_width = ViewLeft.GetImage ().Pixbuf.Width + ViewRight.GetImage ().Pixbuf.Width + 100; + int new_width = ViewLeft.GetImage ().Pixbuf.Width + ViewRight.GetImage ().Pixbuf.Width + 200; int new_height = 200; if (ViewLeft.GetImage ().Pixbuf.Height > ViewRight.GetImage ().Pixbuf.Height)