Skip to content

Button Margin -20 don't shows it #32655

@mzy666888

Description

@mzy666888

Description

I use this code on ContentPage

<Grid RowDefinitions="*,*">
    <Border Background="Blue" ZIndex="8">
    </Border>
    <Border
        Grid.Row="1"
        Background="Red"
        ZIndex="10">
        <Button
            Margin="0,-20,0,0"
            Background="Yellow"
            HeightRequest="100"
            Text="Button"
            VerticalOptions="Start"
            WidthRequest="100">
        </Button>
    </Border>
</Grid>

it shows as this:

Image

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

10.0.10

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

10.0.10

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    s/needs-reproAttach a solution or code which reproduces the issuet/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions