docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

ReSizing

Open TobiasJoergensen opened this issue 5 months ago • 0 comments

Type of issue

Missing information

Description

There seems to be a lack of documentation of how to size an ImageButton and its contents.

Setting the height, width, aspect ratio etc. does not resize the image inside of the button. The only work around I have found to work is setting the padding, but if this is the intended way it should be documented on the MAUI page.

Cheers.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/imagebutton?view=net-maui-8.0

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/controls/imagebutton.md

Document Version Independent Id

39ba8680-8e3c-db64-8b98-fbecf51dafcb

Article author

@davidbritch

Metadata

  • ID: 39ba8680-8e3c-db64-8b98-fbecf51dafcb
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

TobiasJoergensen avatar Aug 28 '24 08:08 TobiasJoergensen