Skip to content

Commit 3fb5846

Browse files
committed
prevent info-area covering title-bar when opened
1 parent 436f80a commit 3fb5846

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Microsoft.Toolkit.Uwp.SampleApp.Shared/Pages/SampleController.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Page
1+
<Page
22
x:Class="Microsoft.Toolkit.Uwp.SampleApp.SampleController"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
@@ -285,7 +285,7 @@
285285
<VisualState.Setters>
286286
<Setter Target="NarrowInfoButton.Visibility" Value="Visible" />
287287
<Setter Target="SampleTitleBar.(Grid.ColumnSpan)" Value="2" />
288-
<Setter Target="InfoAreaPivot.Margin" Value="0,50,0,0" />
288+
<Setter Target="InfoAreaGrid.Margin" Value="0,50,0,0" />
289289

290290
<Setter Target="InfoAreaGrid.(Grid.Column)" Value="0" />
291291
<Setter Target="InfoAreaGrid.(Grid.ColumnSpan)" Value="2" />
@@ -311,7 +311,7 @@
311311
<Setter Target="ExpandPane.Icon" Value="OpenPane" />
312312
<Setter Target="SampleTitleBar.(Grid.ColumnSpan)" Value="1" />
313313
<Setter Target="SampleTitleBar.(Grid.Column)" Value="0" />
314-
<Setter Target="InfoAreaPivot.Margin" Value="0,50,0,0" />
314+
<Setter Target="InfoAreaGrid.Margin" Value="0,50,0,0" />
315315

316316
<Setter Target="InfoAreaGrid.(Grid.Column)" Value="0" />
317317
<Setter Target="InfoAreaGrid.(Grid.ColumnSpan)" Value="2" />

0 commit comments

Comments
 (0)