mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 18:20:39 +08:00
FIX: [STUDIO-3084] size of full_width field
Change-Id: I804b364c2faf0990837c9d4d38110eed9d4f0b49
This commit is contained in:
parent
0dbda47be1
commit
05c2148b82
@ -826,7 +826,7 @@ void OG_CustomCtrl::CtrlLine::render(wxDC& dc, wxCoord h_pos, wxCoord v_pos)
|
||||
draw_buttons(field);
|
||||
// update width for full_width fields
|
||||
if (option_set.front().opt.full_width && field && field->getWindow())
|
||||
field->getWindow()->SetSize(ctrl->GetSize().x - h_pos2 + h_pos3 - h_pos, -1);
|
||||
field->getWindow()->SetSize(ctrl->GetSize().x - h_pos2 + h_pos3 - h_pos - ctrl->m_em_unit * 3, -1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user