mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
FIX:fixed some issues for dark mode
Change-Id: I6b2b75507cf8a72672cce39cf7d8af8773723c22
This commit is contained in:
parent
0acad21707
commit
6f1040f0df
7 changed files with 18 additions and 47 deletions
|
@ -19,7 +19,6 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
|
|||
wxDefaultSize, wxCAPTION | wxCLOSE_BOX | wxRESIZE_BORDER)
|
||||
{
|
||||
m_panel = new ParamsPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBK_LEFT | wxTAB_TRAVERSAL);
|
||||
|
||||
auto* topsizer = new wxBoxSizer(wxVERTICAL);
|
||||
topsizer->Add(m_panel, 1, wxALL | wxEXPAND, 0, NULL);
|
||||
|
||||
|
@ -57,15 +56,15 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
|
|||
wxGetApp().sidebar().finish_param_edit();
|
||||
});
|
||||
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
//wxGetApp().UpdateDlgDarkUI(this);
|
||||
}
|
||||
|
||||
void ParamsDialog::Popup()
|
||||
{
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
#ifdef __WIN32__
|
||||
Reparent(wxGetApp().mainframe);
|
||||
#endif
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
Center();
|
||||
Show();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue