wxGauge can have wrong colors in dark mode, can be reproduced in the widgets sample:
However, it "fixes" itself in some situations, see the GIF above.
Can be also reproduced with the MRE:
#include <wx/wx.h> #include <wx/gauge.h> class MyApp : public wxApp { bool OnInit() override { wxFrame* frame = new wxFrame(nullptr, wxID_ANY, "Test"); wxGauge* gauge = new wxGauge(frame, wxID_ANY, 100); // will fill the frame gauge->SetValue(50); frame->Show(); return true; } }; wxIMPLEMENT_APP(MyApp);
BTW, is the very dark hover color for the thumb of wxSlider correct? Given the unfortunate situation Microsoft created on Windows, what is the reference to be used for "correct" colors: WinUI 3 (via the WinUI 3 Gallery application)?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
According to the attached issue we can just disable theming and set the colours ourselves and I think we should just do it. If it works well enough for dotnet, it should work for us too.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Just for the record, this affects also wxRendererNative::DrawGauge() as can be seen for example in the render sample.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()