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

Multi-Page cuts text/object #9

Open
njcramsey opened this issue Oct 11, 2022 · 0 comments
Open

Multi-Page cuts text/object #9

njcramsey opened this issue Oct 11, 2022 · 0 comments

Comments

@njcramsey
Copy link

Screen Shot widget

Describe the bug

When Printing a multi-page class, the page split doesn't check for line fit and will split it at the pixel line vs the context. Result is that a label or attribute value gets cut with some percentage visible on the "top" page and the rest on the "bottom" page.

To Reproduce
Steps to reproduce the behavior:

  1. Create a page with many lines (labels, attributes, images, etc.) that will span content greater than a page type defined by the widget (A4/Letter/etc) so you create a multi-page scenario.
  2. Print the screenshot
  3. View the result as it will show the labels/attributes/images/etc. hard split on the page break

Expected behavior
Code provides adequate margin and padding and splits to a new page if there isn't enough vertical height remaining before the page break so the labels/attributes/images/etc. don't split.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chromium (Edge but also Chrome/Brave, and Firefox separately)
  • Version [Edge is 106.0.1370.37]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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