Re: [gnome-boxes 2/2] Tweak the wizard UI some more



On Thu, Nov 3, 2011 at 7:35 PM, Zeeshan Ali (Khattak)
<zeeshanak gnome org> wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
>
> Mostly alignments and padding changes.
> ---
>  src/wizard.vala |   27 ++++++++++++++++-----------
>  1 files changed, 16 insertions(+), 11 deletions(-)
>
> diff --git a/src/wizard.vala b/src/wizard.vala
> index 03c5faa..abfc444 100644
> --- a/src/wizard.vala
> +++ b/src/wizard.vala
> @@ -283,57 +283,63 @@ private class Boxes.Wizard: Boxes.UI {
>         label.set_markup (_("Creating a Box will allow you to use another operating system directly from your existing login.\n\nYou may connect to an existing machine <b><i>over the network</i></b> or create a <b><i>virtual machine</i></b> that runs locally on your own."));
>         label.set_use_markup (true);
>         label.wrap = true;
> +        label.justify = Gtk.Justification.LEFT;
>         label.set_halign (Gtk.Align.START);
>         hbox.add (label);
>         hbox.show_all ();
>
>         /* Source */
> -        var vbox = new Gtk.VBox (false, 20);
> -        vbox.margin = 15;
> +        var vbox = new Gtk.VBox (false, 30);
> +        vbox.margin = 40;
>         add_step (vbox, _("Source Selection"), WizardPage.SOURCE);
>         label = new Gtk.Label (_("Insert operating system installation media or select a source below"));
>         label.wrap = true;
> +        label.justify = Gtk.Justification.LEFT;
>         label.set_halign (Gtk.Align.START);
>         vbox.pack_start (label, false, false);
>         vbox.pack_start (wizard_source.widget, false, false);
>         wizard_source.widget.hexpand = true;
> -        wizard_source.widget.halign = Gtk.Align.CENTER;
> +        wizard_source.widget.margin_right = 100;
>         vbox.show_all ();

   Non of the above few changes to source selection page could
possibly be changing the justification towards right, in fact if you
read carefully its putting things more towards left than before.


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


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