FIX:set popup position change to move popup

Change-Id: I3417416dc6de4a40674f1ac98c4ba4fa593f3297
This commit is contained in:
tao wang 2022-12-15 11:16:38 +08:00 committed by Lane.Wei
parent c2978c05a9
commit a6254c44fd
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
wxPoint pos = m_side_tools->ClientToScreen(wxPoint(0, 0));
pos.y += m_side_tools->GetRect().height;
//pos.x = pos.x < 0? 0:pos.x;
m_select_machine.Position(pos, wxSize(0, 0));
m_select_machine.Move(pos);
#ifdef __linux__
m_select_machine.SetSize(wxSize(m_side_tools->GetSize().x, -1));