Some more tweaks

This commit is contained in:
Alessandro Ranellucci 2013-03-08 23:34:57 +01:00
parent 0748e088a0
commit 46f35e39f6
3 changed files with 20 additions and 9 deletions

View file

@ -63,7 +63,7 @@ sub BUILD {
$self->sizer(Wx::StaticBoxSizer->new($box, wxVERTICAL));
}
my $grid_sizer = Wx::FlexGridSizer->new(scalar(@{$self->options}), 2, ($self->no_labels ? 1 : 2), 0);
my $grid_sizer = Wx::FlexGridSizer->new(scalar(@{$self->options}), 2, 0, 0);
$grid_sizer->SetFlexibleDirection(wxHORIZONTAL);
$grid_sizer->AddGrowableCol($self->no_labels ? 0 : 1);