I've designed a custom gallery that exports perfectly to PDF, with pagination, when I'm in studio mode. In the published app, the template height expands dramatically, and the images and text overlap and are crowded.
If I Lock Aspect Ratio for the entire app, the PDF retains the right format even in the published app. However, the LAR causes problems throughout the rest of the app, including blurring PDFs we view in the app.
Does anyone have a solution yet for retaining the proper gallery format for PDFs that:
- are based on galleries
- can have multiple pages
- are in a canvas app that's designed to an unlocked aspect ratio
The gallery is in a container with expand set to true, which all works great in Studio.
I have tried:
- Portrait Print and Landscape: I can't get a basic gallery to be full screen to even test this
- Sending the PDF blob to Power Automate to convert to PDF (using JSON and content approach)
- Attaching as an email to Outlook
- Setting all images to Fit and maxing the text size with HTMLText controls. This limits the text and image height, but the Template Height still distorts to a massive size in the published app's PDF
Thank you for any workaround.