Commit 24ae5d05 authored by Stéphane Mitermite's avatar Stéphane Mitermite Committed by Martin Finkel

MediaElement: Fix display bug in landscape mode on iOS

Fixes #270
By eliminating the RowSpan, it should fix [#270](#270).
This bug appeared in recentish releases of Xamarin.Forms, 3.x releases were fine.
parent c4dbd3c0
......@@ -13,14 +13,15 @@
<SwipeGestureRecognizer Swiped="GestureRecognized" />
</Grid.GestureRecognizers>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ContentPresenter Grid.RowSpan="2" Content="{TemplateBinding VideoView}" />
<ContentPresenter Content="{TemplateBinding Content}" />
<ContentPresenter Grid.Row="1" Content="{TemplateBinding PlaybackControls}" />
<ContentPresenter Content="{TemplateBinding VideoView}"/>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ContentPresenter Content="{TemplateBinding Content}" />
<ContentPresenter Grid.Row="1" Content="{TemplateBinding PlaybackControls}" />
</Grid>
</Grid>
</ControlTemplate>
</ContentView.ControlTemplate>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment