Description
In the Details layout view (e.g., DetailsLayoutPage.xaml), the text in column headers (e.g., "Name", "Date Modified") appears vertically offset toward the bottom edge, rather than being centered within the 40-pixel header height. This is caused by asymmetric padding in the DataGridHeader control (Padding="12,12,12,0"), which provides 12 pixels of top padding but 0 pixels of bottom padding, biasing the content downward. The inner TextBlock is centered within the button's content area, but the uneven padding makes it look misaligned.
Steps To Reproduce
- Open the Files app and navigate to a folder.
- Switch to the Details layout view (if not already selected).
- Observe the column headers in the list view (e.g., "Name", "Date Modified").
- Note that the header text appears closer to the bottom of the header bar than the top, not centered vertically.
- (Optional) Inspect the [DataGridHeader.xaml] file to confirm the
Padding="12,12,12,0" on the Button element.
Files Version
4.0.11
Windows Version
22631.6060
User ID
No response
Log File

Description
In the Details layout view (e.g.,
DetailsLayoutPage.xaml), the text in column headers (e.g., "Name", "Date Modified") appears vertically offset toward the bottom edge, rather than being centered within the 40-pixel header height. This is caused by asymmetric padding in theDataGridHeadercontrol (Padding="12,12,12,0"), which provides 12 pixels of top padding but 0 pixels of bottom padding, biasing the content downward. The innerTextBlockis centered within the button's content area, but the uneven padding makes it look misaligned.Steps To Reproduce
Padding="12,12,12,0"on theButtonelement.Files Version
4.0.11
Windows Version
22631.6060
User ID
No response
Log File