Add work-around for "Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17". #558
This commit is contained in:
parent
794a090892
commit
ed89038f0b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ sub new {
|
|||
# contents
|
||||
$self->{width} = 400;
|
||||
$self->{vsizer} = Wx::BoxSizer->new(wxVERTICAL);
|
||||
$sizer->Add($self->{vsizer}, 1, wxEXPAND, 0);
|
||||
$sizer->Add($self->{vsizer}, 1);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue