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

Wrong aspect ratio for images in table #34

Open
fillsinger opened this issue Jul 18, 2022 · 2 comments
Open

Wrong aspect ratio for images in table #34

fillsinger opened this issue Jul 18, 2022 · 2 comments

Comments

@fillsinger
Copy link

Hi,

how is it possible to insert an image into a table which keeps its original aspect ratio?

Expected Behaviour
I want to add images of varying aspect ratio into a table. I would expect the image width to adjust to the width of the row and the height should vary depending on the aspect ratio.

Current Behaviour:
However, when inserting an image it is inserted into exactly the same aspect ratio as defined in the template. So when using the example template, my image is inserted into a square with equal dimensions, so that the image distorted.

Regards

Fabian

@LukasBurk
Copy link

I have the same problem. Is there already a solution for this?

@Fiat2U
Copy link

Fiat2U commented Mar 9, 2023

The same thing happened to me. For your convenience, I've included a screenshot at https://github.com/Fiat2U/docx_template_flutter_sample.

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

3 participants