diff --git a/dev/AnimatedIcon/AnimatedIcon.cpp b/dev/AnimatedIcon/AnimatedIcon.cpp index cfe773d98d..34831acaf1 100644 --- a/dev/AnimatedIcon/AnimatedIcon.cpp +++ b/dev/AnimatedIcon/AnimatedIcon.cpp @@ -165,11 +165,10 @@ winrt::Size AnimatedIcon::ArrangeOverride(winrt::Size const& finalSize) std::min(finalSize.Height / scale.y, visualSize.y) }; const auto offset = (finalSize - (visualSize * scale)) / 2; - const auto z = 0.0F; const auto rootVisual = visual.RootVisual(); - rootVisual.Offset({ offset, z }); + rootVisual.Offset({ offset, 0.0f }); rootVisual.Size(arrangedSize); - rootVisual.Scale({ scale, z }); + rootVisual.Scale({ scale, 1.0f }); return finalSize; } else diff --git a/dev/ComboBox/ComboBox_themeresources.xaml b/dev/ComboBox/ComboBox_themeresources.xaml index 6107e6c20d..f5399794c8 100644 --- a/dev/ComboBox/ComboBox_themeresources.xaml +++ b/dev/ComboBox/ComboBox_themeresources.xaml @@ -7,6 +7,8 @@ xmlns:contract5Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:contract5NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:controls="using:Microsoft.UI.Xaml.Controls" + xmlns:animatedVisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:primitives="using:Microsoft.UI.Xaml.Controls.Primitives"> @@ -357,7 +359,7 @@ 0,4 0,0,0,8 12,5,0,7 - 11,5,32,6 + 11,5,38,6 7 4 @@ -446,6 +448,9 @@ + + + @@ -463,6 +468,9 @@ + + + @@ -581,7 +589,6 @@ - @@ -604,7 +611,7 @@ - + - + AutomationProperties.AccessibilityView="Raw" + Width="16" + Height="16"> + + + + +