Skip to content

Commit 1f66404

Browse files
authored
Fix Windows Media Element Controls (#2680)
1 parent 195458f commit 1f66404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CommunityToolkit.Maui.MediaElement/ResourceDictionary.windows.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<Setter Property="IsTabStop" Value="False" />
77
<Setter Property="Background" Value="Transparent" />
88
<Setter Property="FlowDirection" Value="LeftToRight" />
9-
<Setter Property="Width" Value="{StaticResource MediaTransportControlsMaxWidth}" />
9+
<Setter Property="MaxWidth" Value="{StaticResource MediaTransportControlsMaxWidth}" />
10+
<Setter Property="Width" Value="Auto" />
1011
<Setter Property="HorizontalContentAlignment" Value="Left" />
1112
<Setter Property="VerticalContentAlignment" Value="Center" />
1213
<Setter Property="VerticalAlignment" Value="Bottom" />

0 commit comments

Comments
 (0)