cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
consultantlk
Helper II
Helper II

Print screen cutting off when app is launched

Hi Everyone,

 

We have a portrait print screen that cuts off when the app is launched. If we open the app first thing in the morning and navigate to the print page, it cuts off a portion of the screen, however if we navigate away and come back it doesn't cut off anymore and displays all controls and labels. If we close the app and re-launch it, same thing happens as above. The height of the page has been set to be dynamic, depending on how big the gallery is in the screen, the screen will expand or shrink. Has anyone encountered this issue before? Any help is appreciated. Thank you!

5 REPLIES 5
zmorek
Super User
Super User

It sounds like it could be a lot of things, maybe the height formula of the gallery, maybe the height formula of the screen, maybe something with a Parent.Printing property, maybe something with an OnVisible() or OnSelect() property... Can you share any formulas or screen shots, before and afters, etc?

Hi @zmorek
height formula of gallery: CountRows(Gallery1_3.AllItems) * Gallery1_3.TemplateHeight

height formula of screen: BottomBackButton.Y * 1.08 (this is the last control of the page)

Onvisible does not have any formulas

Here is a screenshot of the screen when app first launched

consultantlk_0-1620319446589.png

Here is a screenshot of the screen after navigatign away and coming back to the screen

consultantlk_2-1620319637928.png

 

 

zmorek
Super User
Super User

Is there anything on the OnSelect() property of the back button, and/or the button that navigates you to that screen (besides the Navigate() function)?

Hi @zmorek

 

Apologies for the late response. Users are directed to this screen in two ways

1. On the On Success property of a form

Set(vLastSubmittedRECORD, FORM.LastSubmit);
If(!IsBlank(LookUp([DATAVERSE TABLE], id = vLastSubmittedRECORD.ID And Processed = No)), UpdateContext({ShowSpinner:true}), UpdateContext({ShowSpinner:false}) And Navigate(PRINT SCREEN));

 

2. On Select Property of a button

Set(vLastSubmittedRECORD,First(Sort(Filter([DATAVERSE TABLE], RequestedBy= vContactID And Processed = Yes), 'Created On', Descending)));
Navigate(PRINT SCREEN);

Armer
Regular Visitor

hi,

hope it's not too late for that.

try to tick-off the Scale to fit option, under the app settings-->Display

it worked for me

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,081)