This commit is contained in:
Alessandro Ranellucci 2014-12-25 19:42:24 +01:00
parent 4c3fa999f5
commit ce395dfba8

View File

@ -307,7 +307,7 @@ sub new {
$choice->SetFont($Slic3r::GUI::small_font); $choice->SetFont($Slic3r::GUI::small_font);
$self->{preset_choosers}{$group} = [$choice]; $self->{preset_choosers}{$group} = [$choice];
EVT_CHOICE($choice, $choice, sub { $self->_on_select_preset($group, @_) }); EVT_CHOICE($choice, $choice, sub { $self->_on_select_preset($group, @_) });
$presets->Add($text, 0, wxALIGN_LEFT | wxRIGHT, 4); $presets->Add($text, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxRIGHT, 4);
$presets->Add($choice, 1, wxALIGN_CENTER_VERTICAL | wxEXPAND | wxBOTTOM, 8); $presets->Add($choice, 1, wxALIGN_CENTER_VERTICAL | wxEXPAND | wxBOTTOM, 8);
} }
} }