Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklimakc committed Dec 21, 2023
1 parent 637f823 commit 159ca8d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc/controls/SafeArea.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ In this next example, we attempt to have the UI adapt to the keyboard by attachi
<table>
<tr>
<th>Page</th>
<th>XAML</th>
<th>Code</th>
</tr>
<tr>
<td><img src="../assets/safearea-login-static.gif" width="400px"/> </td>
Expand Down Expand Up @@ -528,11 +528,12 @@ There are alternative usages of `SafeArea` that may be considered in this situat
<table>
<tr>
<th>Page</th>
<th>XAML</th>
<th>Code</th>
</tr>
<tr>
<td><img src="../assets/safearea-login-scroll.gif" width="400px"/> </td>
<td>

**XAML**
```diff
<Page ...
Expand Down Expand Up @@ -569,9 +570,10 @@ There are alternative usages of `SafeArea` that may be considered in this situat
+ )
+ )
```
</td>
</tr>
</table>

</td>
</tr>
</table>

2. If you do not want to have the whole page scrollable, you could wrap only the FormPanel `StackPanel` within a `SafeArea` instead of the root `Grid`. This may not always have the best visual effect as can be seen in the demonstration below

Expand Down

0 comments on commit 159ca8d

Please sign in to comment.