mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-16 17:31:47 +08:00
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
@ -181,7 +181,7 @@ sub new {
|
|||||||
# contents
|
# contents
|
||||||
$self->{width} = 400;
|
$self->{width} = 400;
|
||||||
$self->{vsizer} = Wx::BoxSizer->new(wxVERTICAL);
|
$self->{vsizer} = Wx::BoxSizer->new(wxVERTICAL);
|
||||||
$sizer->Add($self->{vsizer}, 1, wxEXPAND, 0);
|
$sizer->Add($self->{vsizer}, 1);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user