Update color

This commit is contained in:
Noisyfox committed 2025-10-28 15:30:06 +08:00
1 parent 7c7d80479d
commit 06fbd3c087
5 files changed
+81 -103

No files matched your search

@@ -16,10 +16,6 @@ ThermalPreconditioningDialog::ThermalPreconditioningDialog(wxWindow *parent, std
: wxDialog(parent, wxID_ANY, _L("Thermal Preconditioning for first layer optimization"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
, m_dev_id(dev_id)
{
wxBitmap bitmap = create_scaled_bitmap("thermal_preconditioning_title", this, 16);
wxIcon icon;
icon.CopyFromBitmap(bitmap);
SetIcon(icon);
// Apply dark-mode-friendly background for the dialog
SetBackgroundColour(StateColor::darkModeColorFor(wxColour(255, 255, 255)));
create_ui();