diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 13:40:24 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 13:58:43 +0100 |
commit | f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3 (patch) | |
tree | 0aad99d13e3576956f448ae8df08d192fc518e64 /perl-install/ugtk3.pm | |
parent | ee095e6e14e98fe19b2b3392734274c100ffed88 (diff) | |
download | drakx-f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3.tar drakx-f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3.tar.gz drakx-f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3.tar.bz2 drakx-f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3.tar.xz drakx-f13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3.zip |
align banner text to left instead of centering it
This was though better when reinventing banners in gtk3. However:
- mcc is still gtk2 and it display a left aligned banner for embedded
tools
- it can be seen as a regression
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index ce3db3e31..bbca18213 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -1383,7 +1383,7 @@ sub new { my $img = gtknew('Image', pixbuf => $blue_part, alignment => [ 0, 0 ]); - my $label = gtknew('Label', text => $text); # for update_text() + my $label = gtknew('Label', text => $text, padding => [ 100, 0 ], alignment => [ 0, 0.5 ]); # for update_text() my $w = gtknew('Overlay', height => $d_height, main_child => $label, children => [ gtknew('Overlay', main_child => $img, children => [ my $icon_img = gtknew('Image', pixbuf => $icon, alignment => [ 0, 0 ]), |