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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,967)