TreeView with checkboxes and DrawDefault = true renders incorrectly #12601
Labels
🪲 bug
Product bug (most likely)
📖 documentation: breaking
A change in behavior that could be breaking for applications. Needs to be documented.
🚧 work in progress
Work that is current in progress
.NET version
net8
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
Same issue as described in https://stackoverflow.com/q/69978042
DrawDefault=true is not rendering nodes correctly in checkboxes are present
Steps to reproduce
Create a form, add a TreevView with CheckBoxes=true and DrawMode=OwnerDrawText
In OnDrawNode event only set DrawDefault=true
Show the form: checkboxes are shown corrupted on the right border
The text was updated successfully, but these errors were encountered: