dotnet / dotnet/winforms

Testing result of Pull Request #14887: Fixed the issue where text in controls such as TextBox and ComboBox was obscured at the bottom

Open
#15,018 1 comment 0 reactions 1 assignee Claimed by @SimonZhao888 View on GitHub
internal-validation
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

# Testing Result
We completed another round of validation for the latest PR [#14887](https://github.com/dotnet/winforms/pull/14887) updates across multiple DPI settings.

Overall, the changes show significant improvement compared to previous builds. Most of the issues reported during earlier validation have been addressed. The updated controls remain slightly taller than their Classic-mode counterparts, but excessive internal whitespace has been reduced considerably. In addition, the related controls now maintain a consistent height, resulting in a more uniform and visually aligned appearance across the control set.

Validation across different DPI configurations have following two issues remaining.

# Issues
## Issue 1: ComboBox text appears vertically misaligned in DropDown mode, repro on all DPI values: 100%DPI ~ 300%DPI --- Fixed
When using a ComboBox with DropDownStyle = DropDown, the text appears positioned too close to the top edge of the editable area. As a result, there is noticeably more empty space below the text than above it.
The text is not visually centered within the editable portion of the control, creating an unbalanced appearance.

ComboBox with DropDownStyle = DropDown on 300%DPI:

Image

ComboBox with DropDownStyle = DropDown on 100%DPI:

Image

## Issue 2: DataGridViewTextBoxEditingControl displays border artifacts at bottom when editing a cell under VisualStylesMode: NET11
Repro on 100%DPI, 125%DPI,

Image

Not repro on 150%DPI ~ 300%DPI

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.