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

Shrink wrap option #200

Closed
Eufranio opened this issue Jul 13, 2021 · 1 comment
Closed

Shrink wrap option #200

Eufranio opened this issue Jul 13, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Eufranio
Copy link

Is your feature request related to a problem? Please describe.
The PDFView widget takes the full width/height. When using the widget on a page, it created top/bottom borders.

Describe the solution you'd like
I'd like to have something like a shrinkWrap option in the PDFViewer, so the max. width/height it would have would be the PDF's page size. I'd like to have the widget take the full page width, but at least only the pdf page's height.

Describe alternatives you've considered
I've tried limiting the widget height value by putting it inside a limited Container, but not all PDFs have the same height.

Additional context
image
I'd like the widget to take only the page's space, shown by the white square. The red rectangles are created by the remaining space that the plugin fills with the background color.

@Eufranio Eufranio added the enhancement New feature or request label Jul 13, 2021
@SergeShkurko
Copy link
Member

See #6 (comment)

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

No branches or pull requests

2 participants