[sparklediff] Change layout a bit

This commit is contained in:
Hylke Bons 2010-07-07 23:55:50 +01:00
parent 233ec83b18
commit 17b95ee0cf
2 changed files with 2 additions and 3 deletions

View file

@ -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);

View file

@ -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)