Skip to content

ImageButton Padding resizes image down unexpectedly even when there is available space #22521

@mattleibow

Description

@mattleibow

Description

Ith the button has unrestricted size, and there is padding - the image button size should be image size + padding. On iOS, the button size is calculated form the image, and then padding as added in to make the image smaller.

Android iOS Windows
ImageButtonUITests_Padding_Add_Added ImageButtonUITests_Padding_Add_Added ImageButtonUITests_Padding_Add_Added

Steps to Reproduce

Run the ImageButtonUITests or "Image Button Gallery" page.

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

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions