Skip to content

Commit

Permalink
Fix the issue with the Padding property not working on the Windows pl…
Browse files Browse the repository at this point in the history
…atform(.NET 8.0)

修复在.net8.0中,Windows平台 Padding属性不生效的bug
  • Loading branch information
sswi committed Jan 13, 2024
1 parent 27eb622 commit 9a21d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions AcrylicView.Samples/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,11 @@
<!-- Row6 -->

<Grid Grid.Row="5">
<ui:AcrylicView
Padding="0,100,0,0"
CornerRadius="20"
HeightRequest="100">
<ui:AcrylicView CornerRadius="20" HeightRequest="100">

<Label
HorizontalTextAlignment="Center"
Text="好的风沙很大和23"
Text="AcrylicView.MAUI"
VerticalTextAlignment="Center" />
</ui:AcrylicView>
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion AcrylicView/AcrylicView.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
AcrylicView:Acrylic Effect View on the .Net MAUI
Support Platform:Windows,Android,iOS,Mac
</Description>
<Version>2.1</Version>
<Version>2.1.1</Version>
<PackageProjectUrl>https://github.com/sswi/AcrylicView.MAUI</PackageProjectUrl>
<RepositoryUrl>https://github.com/sswi/AcrylicView.MAUI</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit 9a21d46

Please sign in to comment.