[sparklediff] Change layout a bit
This commit is contained in:
parent
30bc9dcf79
commit
c57d42485d
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue