microsoft / microsoft/microsoft-ui-xaml
TextBox PlaceholderText is no longer centered correctly in v1.6.0
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
In WindowsAppSDK 1.5 `` it looks correct like this:

In v1.6 `` it suddenly looks like this:

So whatever has changed it messes with the positioning of the PlaceholderText.
### Steps to reproduce the bug
```xaml
Click Me
```
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
### Windows version
Windows 10 (21H2): Build 19044
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied XAML reproduction and compare the TextBox PlaceholderText layout under Windows App SDK 1.5.240802000 and 1.6.240829007 on Windows 10 build 19044. Investigate the version change affecting placeholder positioning; done when the placeholder is centered as it was in 1.5 without regressing the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100