Skip to content

ImageButton does not respect the height and width given to it #7927

@AswinPG

Description

@AswinPG

Description

The size of an Imagebutton is not accurate. The Heightrequest and widthrequest values are not respected. I will attach an image showing an ImageButton and a Button with the same height and width given in. During hot reload it sizes correctly but after the project is rerun the issue happens..
Screenshot_20220610-163549

Steps to Reproduce

  1. Create an imagebutton
  2. Give it a fixed size
  3. check if the size is what we have given in..
  4. You can compare it with a button of the same size

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 12

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions