From 8c0d5fa642c04ad3df3f6cab068e20924fc10383 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Sep 2008 22:33:46 +0000 Subject: (_gtk__MDV_Notebook) make sure filler is big enough --- perl-install/mygtk2.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install') diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 2a47d272c..c37073cdd 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -657,6 +657,7 @@ sub _gtk__MDV_Notebook { my $offset = 20; my $is_flip_needed = text_direction_rtl(); my $filler = gtknew('Image', file => 'left-background-filler.png'); + my $filler_height = $filler->get_pixbuf->get_height; my $left_background = gtknew('Image', file => 'left-background.png'); my $right_background = gtknew('Image', file => "right-white-background_left_part$suffix", flip => $is_flip_needed); my $lf_height = $left_background->get_pixbuf->get_height; @@ -669,6 +670,8 @@ sub _gtk__MDV_Notebook { [ $left_background, 0, 0 ], if_($suffix ne '_600', [ $filler, 0, $lf_height ], + [ gtknew('Image', file => 'left-background-filler.png'), 0, $lf_height + $filler_height ], + [ gtknew('Image', file => 'left-background-filler.png'), 0, $lf_height + $filler_height*2 ], ), [ $selection_bar = gtknew('Image', file => 'rollover.png'), 0, 0 ], # arbitrary vertical position ($opts->{children} ? @{ delete $opts->{children} } : ()), -- cgit v1.2.1