FIX:set popup position change to move popup

Change-Id: I3417416dc6de4a40674f1ac98c4ba4fa593f3297
This commit is contained in:
tao wang
2023-01-10 19:08:26 +08:00
committed by Lane.Wei
parent c2978c05a9
commit a6254c44fd
+1 -1
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));