From 29c3adff913e517dd293015573d393292d5cff9a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Aug 2007 12:19:40 +0000 Subject: (init) align text to top (I wonder if we shouldn't align it to the left too) --- Rpmdrake/gurpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm index f20f8544..4a3468bf 100755 --- a/Rpmdrake/gurpm.pm +++ b/Rpmdrake/gurpm.pm @@ -38,7 +38,7 @@ sub init { $mainw = ugtk2->new($title, %options, default_width => 600, width => 600); $previous_main_window = $::main_window; $::main_window = $mainw->{real_window}; - $label = gtknew('Label', text => $initializing); + $label = gtknew('Label', text => $initializing, alignment => [ 0.5, 0 ]); # size label's heigh to 2 lines in order to prevent dummy vertical resizing: my $context = $label->get_layout->get_context; my $metrics = $context->get_metrics($label->style->font_desc, $context->get_language); -- cgit v1.2.1