FIX: adjust filament parameter ui layout
Change-Id: I3d46894333ad165b43487b8472fc1451fbbf5224
This commit is contained in:
parent
6834f0096b
commit
ad636acac7
2 changed files with 2 additions and 6 deletions
|
@ -24,7 +24,7 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
|
|||
topsizer->Add(m_panel, 1, wxALL | wxEXPAND, 0, NULL);
|
||||
|
||||
SetSizerAndFit(topsizer);
|
||||
SetSize({70 * em_unit(), 60 * em_unit()});
|
||||
SetSize({75 * em_unit(), 60 * em_unit()});
|
||||
|
||||
Layout();
|
||||
Center();
|
||||
|
@ -69,7 +69,7 @@ void ParamsDialog::Popup()
|
|||
void ParamsDialog::on_dpi_changed(const wxRect &suggested_rect)
|
||||
{
|
||||
Fit();
|
||||
SetSize({70 * em_unit(), 60 * em_unit()});
|
||||
SetSize({75 * em_unit(), 60 * em_unit()});
|
||||
m_panel->msw_rescale();
|
||||
Refresh();
|
||||
}
|
||||
|
|
|
@ -2414,8 +2414,6 @@ void TabFilament::build()
|
|||
load_initial_data();
|
||||
|
||||
auto page = add_options_page(L("Filament"), "spool");
|
||||
page->m_split_multi_line = true;
|
||||
page->m_option_label_at_right = true;
|
||||
//BBS
|
||||
auto optgroup = page->new_optgroup(L("Basic information"), L"param_information");
|
||||
// Set size as all another fields for a better alignment
|
||||
|
@ -2443,8 +2441,6 @@ void TabFilament::build()
|
|||
optgroup->append_single_option_line("bed_temperature_difference");
|
||||
|
||||
optgroup = page->new_optgroup(L("Print temperature"), L"param_temperature");
|
||||
optgroup->split_multi_line = true;
|
||||
optgroup->option_label_at_right = true;
|
||||
line = { L("Nozzle"), L("Nozzle temperature when printing") };
|
||||
line.append_option(optgroup->get_option("nozzle_temperature_initial_layer"));
|
||||
line.append_option(optgroup->get_option("nozzle_temperature"));
|
||||
|
|
Loading…
Reference in a new issue