mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Add VisibleBoundsPadding
This ensures notch is correctly handled on iOS.
This commit is contained in:
parent
c701d3a081
commit
a7f171ec8d
2 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
xmlns:converters="using:CalculatorApp.Converters"
|
||||
xmlns:local="using:CalculatorApp"
|
||||
xmlns:vm="using:WindowsCalculatorShared.ViewModel"
|
||||
xmlns:toolkit="using:Uno.UI.Toolkit"
|
||||
x:Name="pageRoot"
|
||||
Background="{ThemeResource AppChromeAcrylicHostBackdropMediumLowBrush}"
|
||||
Loaded="OnPageLoaded"
|
||||
|
@ -60,7 +61,7 @@
|
|||
</Style>
|
||||
</Page.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid toolkit:VisibleBoundsPadding.PaddingMask="All">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<!--
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<PackageReference Include="System.Runtime">
|
||||
<Version>4.3.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Uno.UI">
|
||||
<Version>1.45.0-dev.1457</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue