mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-09-24 06:53:16 +08:00
Merge pull request #3771 from pn2200/issue1300
Use default size for label and size column label to fit content.
This commit is contained in:
commit
086fd2e8a8
@ -77,7 +77,7 @@ sub new {
|
|||||||
|
|
||||||
{
|
{
|
||||||
my $label = Wx::StaticText->new($self, -1, "You can use this section to override the default layer height for parts of this object. Set layer height to zero to skip portions of the input file.",
|
my $label = Wx::StaticText->new($self, -1, "You can use this section to override the default layer height for parts of this object. Set layer height to zero to skip portions of the input file.",
|
||||||
wxDefaultPosition, [-1, 40]);
|
wxDefaultPosition, wxDefaultSize);
|
||||||
$label->SetFont(Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
$label->SetFont(Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||||
$sizer->Add($label, 0, wxEXPAND | wxALL, 10);
|
$sizer->Add($label, 0, wxEXPAND | wxALL, 10);
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ sub new {
|
|||||||
$grid->SetColLabelValue(0, "Min Z (mm)");
|
$grid->SetColLabelValue(0, "Min Z (mm)");
|
||||||
$grid->SetColLabelValue(1, "Max Z (mm)");
|
$grid->SetColLabelValue(1, "Max Z (mm)");
|
||||||
$grid->SetColLabelValue(2, "Layer height (mm)");
|
$grid->SetColLabelValue(2, "Layer height (mm)");
|
||||||
$grid->SetColSize($_, 135) for 0..2;
|
$grid->SetColSize($_, -1) for 0..2;
|
||||||
$grid->SetDefaultCellAlignment(wxALIGN_CENTRE, wxALIGN_CENTRE);
|
$grid->SetDefaultCellAlignment(wxALIGN_CENTRE, wxALIGN_CENTRE);
|
||||||
|
|
||||||
# load data
|
# load data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user