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:converters="using:CalculatorApp.Converters"
|
||||||
xmlns:local="using:CalculatorApp"
|
xmlns:local="using:CalculatorApp"
|
||||||
xmlns:vm="using:WindowsCalculatorShared.ViewModel"
|
xmlns:vm="using:WindowsCalculatorShared.ViewModel"
|
||||||
|
xmlns:toolkit="using:Uno.UI.Toolkit"
|
||||||
x:Name="pageRoot"
|
x:Name="pageRoot"
|
||||||
Background="{ThemeResource AppChromeAcrylicHostBackdropMediumLowBrush}"
|
Background="{ThemeResource AppChromeAcrylicHostBackdropMediumLowBrush}"
|
||||||
Loaded="OnPageLoaded"
|
Loaded="OnPageLoaded"
|
||||||
|
@ -59,8 +60,8 @@
|
||||||
Value="Right"/>
|
Value="Right"/>
|
||||||
</Style>
|
</Style>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<Grid>
|
<Grid toolkit:VisibleBoundsPadding.PaddingMask="All">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
<PackageReference Include="System.Runtime">
|
<PackageReference Include="System.Runtime">
|
||||||
<Version>4.3.1</Version>
|
<Version>4.3.1</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
<PackageReference Include="Uno.UI">
|
||||||
|
<Version>1.45.0-dev.1457</Version>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue