summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index a8ea0dcc6..15b770c16 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1457,7 +1457,7 @@ sub new {
(undef, undef, undef, $d_height) = $darea->window->get_geometry;
my $padding = int(($d_height - $height)/2);
my $d_width = $darea->allocation->width;
- my $x_blue = $is_rtl ? $d_width - $width : 0;
+ my $x_blue = $is_rtl ? $d_width - $blue_part->get_width : 0;
my $x_icon = $is_rtl ? $d_width - $padding - $width : $padding;
my $x_text = $is_rtl ? $x_icon - $padding - 32 - $darea->{txt_width} : $width + $padding +32;
$blue_part->render_to_drawable($darea->window, $style->bg_gc('normal'),