From 305e53438feb5074a5a35d1ded0390114927fd3e Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 23 Jun 2017 08:09:39 +0100 Subject: Centre the advert images displayed by the installer. Gives better appearance at higher screen resolutions. --- perl-install/install/steps_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index eb4e42c77..01f341c1f 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -593,7 +593,7 @@ sub installPackages { my $rel_notes = gtknew('Button', text => N("Release Notes"), clicked => sub { $show_release_notes = 1 }); - ugtk3::gtkadd($w->{window}, my $box = gtknew('VBox', children_tight => [ + ugtk3::gtkadd($w->{window}, my $box = gtknew('VBox', children_centered => [ gtknew('Image', file_ref => \$advertising_image, show_ref => \$show_advertising), ])); -- cgit v1.2.1