Hi, I made some buttons with bitmap :
my $bouton=$mw->Button(-bitmap => 'error',
                               -relief =>'raised',
                               -height =>'27',
                               -width => '27',
                               -cursor => 'pirate',
                               -command=>\&restart_serv)->pack(-side => 'left',
                                                                -anchor => 'n',
                                                                -padx => 3);
                                                                      

        my $bouton=$mw->Button(-bitmap => 'gray12',
                               -relief =>'raised',
                               -height =>'27',
                               -width => '27',
                               -cursor => 'pirate',
                               -command=>\&setdeletefile)->pack(-side => 'left',
                                                              -anchor => 'n',
                                                              -padx => 3);     

        my $bouton=$mw->Button(-bitmap => 'question',
                               -relief =>'raised',
                               -width => '27',
                               -cursor => 'question_arrow',
                               -command=>\&about)->pack(-anchor => 'n',
                                                        -side => 'left',
                                                        -padx => 3,
                                                        );   
                                                        
                                                        
But I wanted to reduce the size of theses buttons but when I reduce width and 
height the bitmap is cut.
How can I do to reduce the size of the button and the size of the inside bitmap 
too.

Thanks                                                  


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to