Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Images on the UICanvas in the nft-wall-example-scene #32

Open
Frans opened this issue Jan 17, 2023 · 0 comments
Open

Issue with Images on the UICanvas in the nft-wall-example-scene #32

Frans opened this issue Jan 17, 2023 · 0 comments

Comments

@Frans
Copy link

Frans commented Jan 17, 2023

I'm using https://github.com/decentraland-scenes/nft-wall-example-scene
to show images that will have a unknown size to me.
They get weirdly stretched on the Canvas UI. The last pixels from the right side and/or bottom get stretched to fill the area.
It seems like the example got around this issue by making all the images 1024*1024, by adding white space to them.

Is there away to just have a image just naturally fill the width or height of the defined space, like you would with CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant