summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 13:40:24 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 13:58:43 +0100
commitf13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3 (patch)
tree0aad99d13e3576956f448ae8df08d192fc518e64
parentee095e6e14e98fe19b2b3392734274c100ffed88 (diff)
downloaddrakx-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
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/ugtk3.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ba1820720..c65b6c94b 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- mcc:
o restore galaxy RC file, thus fixing left panel text color (mga#11773)
o fix Gtk2 banners' text position (mga#11778)
+- Banners:
+ o align text to left instead of centering it
Version 16.0 - 23 November 2013
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 ]),