mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 11:40:41 +08:00
Fix for SPE-2233 : [LINUX] Different size of buttons "Export G-code" and "Send to Connect"
This commit is contained in:
parent
b4c6ec1068
commit
490b267ad6
@ -502,7 +502,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||||||
|
|
||||||
auto* complect_btns_sizer = new wxBoxSizer(wxHORIZONTAL);
|
auto* complect_btns_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
complect_btns_sizer->Add(m_btn_export_gcode, 1, wxEXPAND);
|
complect_btns_sizer->Add(m_btn_export_gcode, 1, wxEXPAND);
|
||||||
complect_btns_sizer->Add(m_btn_connect_gcode, 1, wxLEFT, margin_5);
|
complect_btns_sizer->Add(m_btn_connect_gcode, 1, wxEXPAND | wxLEFT, margin_5);
|
||||||
complect_btns_sizer->Add(m_btn_send_gcode, 0, wxLEFT, margin_5);
|
complect_btns_sizer->Add(m_btn_send_gcode, 0, wxLEFT, margin_5);
|
||||||
complect_btns_sizer->Add(m_btn_export_gcode_removable, 0, wxLEFT, margin_5);
|
complect_btns_sizer->Add(m_btn_export_gcode_removable, 0, wxLEFT, margin_5);
|
||||||
|
|
||||||
@ -511,7 +511,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||||||
|
|
||||||
auto *sizer = new wxBoxSizer(wxVERTICAL);
|
auto *sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
sizer->Add(m_scrolled_panel, 1, wxEXPAND);
|
sizer->Add(m_scrolled_panel, 1, wxEXPAND);
|
||||||
sizer->Add(btns_sizer, 0, wxEXPAND | wxLEFT, margin_5);
|
sizer->Add(btns_sizer, 0, wxEXPAND | wxLEFT | wxBOTTOM, margin_5);
|
||||||
SetSizer(sizer);
|
SetSizer(sizer);
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
|
Loading…
x
Reference in New Issue
Block a user