mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 23:19:00 +08:00
Use wxDefaultSize instead of [-1, -1]
This commit is contained in:
parent
a4219ba352
commit
e8a20eed6a
@ -125,7 +125,7 @@ sub new {
|
||||
if ($opt->{sidetext}) {
|
||||
my $sizer = Wx::BoxSizer->new(wxHORIZONTAL);
|
||||
$sizer->Add($field);
|
||||
my $sidetext = Wx::StaticText->new($parent, -1, $opt->{sidetext}, wxDefaultPosition, [-1, -1]);
|
||||
my $sidetext = Wx::StaticText->new($parent, -1, $opt->{sidetext}, wxDefaultPosition, wxDefaultSize);
|
||||
$sizer->Add($sidetext, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, 4);
|
||||
$self->Add($sizer);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user