need spacer




I would like to have 10px space between next and cancel.

[ back ] [ next ]       [cancel]

however, this following code gives more spaces than what I need. I think its due to homogeneous settings.

my $hbbox = Gtk2::HButtonBox->new();
$hbbox->set_layout("end");
$hbbox->set_spacing(2);
$hbbox->set_homogeneous(FALSE);

my $spacer = Gtk2::Label->new();
$spacer->set_size_request(0,8);

$hbbox->add($back);
$hbbox->add($next);
$hbbox->add($spacer);
$hbbox->add($cancel);


--beast





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]