Fixes for Windows

This commit is contained in:
Alessandro Ranellucci 2012-06-20 21:43:06 +02:00
parent 8d465aca34
commit ac59297e39
4 changed files with 5 additions and 5 deletions

View file

@ -206,10 +206,9 @@ sub new {
$self->{preset_choosers} = {};
for my $group (qw(print filament printer)) {
my $text = Wx::StaticText->new($self, -1, "$group_labels{$group}:", [-1, -1], [-1, -1], wxALIGN_RIGHT);
$text->SetFont($Slic3r::GUI::medium_font);
$self->{preset_choosers}{$group} = Wx::Choice->new($self, -1, [-1, -1], [-1, -1], []);
$presets->Add($text, 1, wxALIGN_RIGHT | wxRIGHT, 4);
$presets->Add($self->{preset_choosers}{$group}, 2, wxRIGHT, 15);
$presets->Add($text, 1, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxRIGHT, 4);
$presets->Add($self->{preset_choosers}{$group}, 2, wxALIGN_CENTER_VERTICAL | wxRIGHT, 15);
}
my $sizer = Wx::BoxSizer->new(wxVERTICAL);