microsoft-ui-xaml
microsoft-ui-xaml copied to clipboard
[DatePicker] Incorrect spacing and height
Describe the bug
Compared to other button controls, DatePicker does not seem to have the correct height and an incorrect spacing between the header and the button.
Windows Visual Kit (Figma):
Steps to reproduce the bug
HorizontalAlignment="Right"
VerticalAlignment="Center"
Orientation="Vertical"
Spacing="64">
<StackPanel Orientation="Horizontal">
<Button VerticalAlignment="Bottom" Content="Button" />
<TextBox VerticalAlignment="Bottom" Text="Text" />
<DatePicker VerticalAlignment="Bottom" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button VerticalAlignment="Bottom" Content="Button" />
<TextBox
VerticalAlignment="Bottom"
Header="TextBox"
Text="Text" />
<DatePicker VerticalAlignment="Bottom" Header="DatePicker" />
</StackPanel>
</StackPanel>
NuGet package version
1.7.250310001
Hi. So what's the status of this issue? Not only the size of the DatePicker is wrong, but also the space between it's header text and DatePicker is wrong too. WindowsAppSDK = 1.8.251003001