-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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:
- 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.
- Print the screenshot
- 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.

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.