Open
Description
Describe the bug
When a column is set to have a Width of *, and there are one or more template columns with buttons in them the buttons will not be rendered the correct size. If you change the window size and then maximize it again, the buttons will be rendered correctly. It does not seem to always render the incorrect size but seems to be incorrect more times than it is correct.
Regression
No response
Reproducible in sample app?
- This bug can be reproduced in the sample app.
Steps to reproduce
1. Add a DataGrid.
2. Create a column with a width of *
3. Add a DataGridTemplateColumn that contains a button.
Expected behavior
The button should be rendered the correct size with all text in it visible.
Screenshots
No response
Windows Build Number
- Windows 10 1809 (Build 17763)
- Windows 10 1903 (Build 18362)
- Windows 10 1909 (Build 18363)
- Windows 10 2004 (Build 19041)
- Windows 10 20H2 (Build 19042)
- Windows 10 21H1 (Build 19043)
- Windows 11 21H2 (Build 22000)
- Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
- Windows 10, version 1809 (Build 17763)
- Windows 10, version 1903 (Build 18362)
- Windows 10, version 1909 (Build 18363)
- Windows 10, version 2004 (Build 19041)
- Other (specify)
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Nuget packages
No response
Additional context
No response
Help us help you
No.