dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.72k forks source link

Inconsistence Frame Padding #23482

Open mknotzer opened 2 months ago

mknotzer commented 2 months ago

Description

Frame Padding on Android 20px, on iOS 10px

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

<Style TargetType="Frame">
    <Setter Property="Padding" Value="10" />
</Style>

Relevant log output

No response

github-actions[bot] commented 2 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

ninachen03 commented 2 months ago

This issue has been verified using Visual Studio 17.11.0 Preview 2.1(8.0.61 & 8.0.21). Can repro it. image

PureWeen commented 2 months ago

@mknotzer if you use Border does that work?

mknotzer commented 2 months ago

@PureWeen the Border attribute doesn't exist in Maui

PureWeen commented 2 months ago

I'm referring to the border control https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/border?view=net-maui-8.0

mknotzer commented 2 months ago

@PureWeen border control works but is lacking the bordercolor attribute