hrydgard/ppsspp

GUI classes don't consider image dimensions in GetContentDimensions

NABN00B opened this issue · 1 comments

Reported by @Felipefpl at #20801 (comment)

The following classes have images but have some oddities in their GetContentDimensions method:

  • Button applies fixed padding for images instead of considering image size
  • TriggerButton doesn't consider scale? (Does it need to?)
  • Choice doesn't consider image size
  • Spinner uses fixed dimensions

Look at Checkbox and ImageView for correct examples.

Image

Image

Thanks for adding this here as an issue. 👍