Re: [gnome-boxes 2/2] Tweak the wizard UI some more
- From: Marc-André Lureau <marcandre lureau gmail com>
- To: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
- Cc: gnome-boxes-list gnome org
- Subject: Re: [gnome-boxes 2/2] Tweak the wizard UI some more
- Date: Thu, 3 Nov 2011 17:44:43 +0100
Nak there are various padding issues: https://castle.so/7cvs/preview
On Thu, Nov 3, 2011 at 5:25 PM, Zeeshan Ali (Khattak)
<zeeshanak gnome org> wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
>
> Mostly alignments and padding changes.
> ---
> src/wizard.vala | 24 +++++++++++++-----------
> 1 files changed, 13 insertions(+), 11 deletions(-)
>
> diff --git a/src/wizard.vala b/src/wizard.vala
> index 8ceb21d..016d43f 100644
> --- a/src/wizard.vala
> +++ b/src/wizard.vala
> @@ -286,8 +286,8 @@ private class Boxes.Wizard: Boxes.UI {
> 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;
> @@ -295,12 +295,12 @@ private class Boxes.Wizard: Boxes.UI {
> 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 ();
>
> /* Preparation */
> - vbox = new Gtk.VBox (false, 10);
> - vbox.margin = 15;
> + vbox = new Gtk.VBox (false, 30);
> + vbox.margin = 40;
> add_step (vbox, _("Preparation"), WizardPage.PREPARATION);
> label = new Gtk.Label (_("Preparing to create new box"));
> label.set_halign (Gtk.Align.START);
> @@ -308,30 +308,33 @@ private class Boxes.Wizard: Boxes.UI {
> vbox.pack_start (label, false, false);
>
> hbox = new Gtk.HBox (false, 10);
> - hbox.valign = Gtk.Align.CENTER;
> - hbox.halign = Gtk.Align.CENTER;
> + hbox.valign = Gtk.Align.START;
> + //hbox.halign = Gtk.Align.CENTER;
> hbox.margin = 24;
> vbox.pack_start (hbox, true, true);
>
> var image = new Gtk.Image.from_icon_name ("media-optical", 0);
> image.pixel_size = 128;
> hbox.pack_start (image, false, false);
> - var prep_vbox = new Gtk.VBox (true, 10);
> + var prep_vbox = new Gtk.VBox (true, 20);
> prep_vbox.valign = Gtk.Align.CENTER;
> hbox.pack_start (prep_vbox, true, true);
> label = new Gtk.Label (_("Analyzing installer media."));
> + label.halign = Gtk.Align.START;
> prep_vbox.pack_start (label, false, false);
> prep_progress = new Gtk.ProgressBar ();
> prep_vbox.pack_start (prep_progress, false, false);
> vbox.show_all ();
>
> /* Setup */
> - vbox = new Gtk.VBox (false, 10);
> + vbox = new Gtk.VBox (false, 30);
> add_step (vbox, _("Setup"), WizardPage.SETUP);
> + vbox.margin = 40;
> vbox.show_all ();
>
> /* Review */
> - vbox = new Gtk.VBox (false, 10);
> + vbox = new Gtk.VBox (false, 30);
> + vbox.margin = 40;
> add_step (vbox, _("Review"), WizardPage.REVIEW);
> summary = new WizardSummary ();
> vbox.pack_start (summary.widget, false, false);
> @@ -391,7 +394,6 @@ private class Boxes.Wizard: Boxes.UI {
>
> public WizardSummary () {
> table = new Gtk.Table (1, 2, false);
> - table.margin = 20;
> table.row_spacing = 10;
> table.column_spacing = 20;
>
> --
> 1.7.7
>
> _______________________________________________
> gnome-boxes-list mailing list
> gnome-boxes-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-boxes-list
>
--
Marc-André Lureau
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]