You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a small issue in v1.18.12, the disabled (by the code) ComboBox is white:
I noticed that there is a fix for that in the DarkModeCS, but it doesn't work:
// Fixes a glitch showing the Combo Backgroud white when the control is Disabled:
if (!control.Enabled && this.IsDarkMode)
{
comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
}
It works correctly when I change it to:
// Fixes a glitch showing the Combo Backgroud white when the control is Disabled:
if (this.IsDarkMode)
{
comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
}
Can you check this? Thanks.
The text was updated successfully, but these errors were encountered:
I am out of office right now, but looking at the description above, it seems the .Enabled is being evaluated at the time of dark theme application. If the control is enabled orginally and disabled afterwards, it is not reflected.... So one option would be handling Control.EnabledChanged, the other, probably most clear, would be handlingControl.OnPaint....
Hello,

I have a small issue in v1.18.12, the disabled (by the code) ComboBox is white:
I noticed that there is a fix for that in the DarkModeCS, but it doesn't work:
It works correctly when I change it to:
Can you check this? Thanks.
The text was updated successfully, but these errors were encountered: