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

Preview images are not scaled according to size and height of an object #171

Open
Simre1 opened this issue Sep 28, 2020 · 0 comments
Open

Comments

@Simre1
Copy link

Simre1 commented Sep 28, 2020

It seems to me that there is no option to scale the preview image to fit the width and height of an entity. This leads to visual issues when the supplied image is either bigger or smaller than the entity.

Here is an example where the preview image has two times the width and height of the entity.
scaling-example

Of course, sometimes it might be preferable not to fit the image to the entity. In my opinion, the ideal solution would be to allow for greater control of preview image placement. You could then for example set the dimensions and offset of that image within the entity.

Another solution which is significantly less work but also less customizable would be a simple switch to toggle between scaling and non-scaling.

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