mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
UI Fixes / Improvements (#12069)
* clone dialog - spin input stuck on selected * fix advanced toggle label * fix scrollbar appearing on project page welcome screen * create slicing section on preferences * reduce margins on tabs * bbl part skip dialog * Update filament_not_mactch.svg * Update icon_qusetion.svg * match hyperlink color on notifications * fix position of notifications on slicing errors * match background color of BBL > Calibration tab > Sidebar * match look of BBL sidebars * match bbl monitor icons * match multi-device page margins * bbl > monitor > print control buttons * fix flush dialog showing text selection on buttons * Printer network dialog > match combo box width
This commit is contained in:
@@ -389,6 +389,7 @@ void Tab::create_preset_tab()
|
||||
m_mode_icon = new ScalableButton(m_top_panel, wxID_ANY, "advanced"); // ORCA
|
||||
m_mode_icon->SetToolTip(_L("Show/Hide advanced parameters"));
|
||||
m_mode_icon->Bind(wxEVT_BUTTON, [this](wxCommandEvent e) {
|
||||
if(wxGetApp().get_mode() == comDevelop) return; // prevent change on dev mode
|
||||
m_mode_view->SetValue(!m_mode_view->GetValue());
|
||||
wxCommandEvent evt(wxEVT_TOGGLEBUTTON, m_mode_view->GetId()); // ParamsPanel::OnToggled(evt)
|
||||
evt.SetEventObject(m_mode_view);
|
||||
@@ -7142,7 +7143,7 @@ void Page::activate(ConfigOptionMode mode, std::function<void()> throw_if_cancel
|
||||
for (auto group : m_optgroups) {
|
||||
if (!group->activate(throw_if_canceled))
|
||||
continue;
|
||||
m_vsizer->Add(group->sizer, 0, wxEXPAND | (group->is_legend_line() ? (wxLEFT|wxTOP) : wxALL), 10);
|
||||
m_vsizer->Add(group->sizer, 0, wxEXPAND | (group->is_legend_line() ? (wxLEFT|wxTOP) : wxALL), m_parent->FromDIP(5)); // ORCA use less margin on parameters section
|
||||
group->update_visibility(mode);
|
||||
#if HIDE_FIRST_SPLIT_LINE
|
||||
if (first) group->stb->Hide();
|
||||
|
||||
Reference in New Issue
Block a user