Add Picture frame/size #59
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Currently I'm not able to control the size of an image
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Plus there's padding issues, even after to HStack there wasn't space so I don't know what the reason
You can set a picture's frame using
frame(maxWidth:)and/orframe(maxHeight:).I'd love to help, but I don't fully understand the description of the problem - could you maybe add some details?
I have added padding to HStack however padding is not there as much I don't know why? Like frame did work but it's like hit or miss when we search for "Dolphin" you could see the difference in what I mean
Or may be I don't understand how List works here then because it has only one item but I was thinking ListItems would be given the same space in terms of height.
Is it the padding? I think it's still the image that is changing its size. You should be able to fix this by modifying with
frame(minWidth:minHeight:)to the same values (32/32) so that the icon cannot get smaller than the maximum width/height.Does this help?