diff options
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 34eb3eae8..99050b5a3 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1542,7 +1542,7 @@ sub new { my ($_class, $icon, $text, $o_options) = @_; my $darea = Gtk2::DrawingArea->new; - my $d_height = 75; + my $d_height = $::isInstall ? 55 : 75; $darea->set_size_request(-1, $d_height); $darea->modify_font(Gtk2::Pango::FontDescription->from_string("Sans Bold 14")); $darea->{icon} = ugtk2::gtkcreate_pixbuf($icon); @@ -1561,7 +1561,7 @@ sub new { my $x_text = $is_rtl ? $x_icon - $padding - $darea->{txt_width} : $height + $padding*2; $darea->{icon}->render_to_drawable($darea->window, $style->bg_gc('normal'), 0, 0, $x_icon, $padding, -1, -1, 'none', 0, 0); - $darea->window->draw_layout($style->fg_gc('normal'), $x_text, $o_options->{txt_ypos} || 25, + $darea->window->draw_layout($style->fg_gc('normal'), $x_text, $o_options->{txt_ypos} || $::isInstall ? 17 : 25, $darea->{layout}); 1; }); |