Skip to content

Commit

Permalink
Add small border on non-wxMAC platforms. Needs testing with wxWidgets…
Browse files Browse the repository at this point in the history
… 2.9.x on wxMSW + wxGTK.
  • Loading branch information
henrikbrixandersen committed Aug 2, 2012
1 parent c1e2bc5 commit 5518ac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Slic3r/GUI/OptionsGroup.pm
Expand Up @@ -145,7 +145,8 @@ sub BUILD {
}
}

$self->sizer->Add($grid_sizer, 0, wxEXPAND);
# TODO: border size may be related to wxWidgets 2.8.x vs. 2.9.x instead of wxMAC specific
$self->sizer->Add($grid_sizer, 0, wxEXPAND | wxALL, &Wx::wxMAC ? 0 : 5);
}

sub _option {
Expand Down

0 comments on commit 5518ac9

Please sign in to comment.