cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

How to access ACTUAL screensizes?

I'm starting to dabble in responsive design but I can't figure out which property accesses the actual screensize.

All of the Propeties below show the same: 1366 x 768 whether viewed on laptop, mobile, etc.

ScreenName.Width
ScreenName.Height

Parent.Width
Parent.Height

App.Width
App.Height

App.DesignWidth
App.DesignHeight

Any ideas?
Thank yoU!

3 REPLIES 3
Highlighted
Super User
Super User

Re: How to access ACTUAL screensizes?

I've even tried spinning up a Preview environment and exporting/importing the app into this env. No Go. WHAT THE HECK 🙂 ?



 

Highlighted
Community Support
Community Support

Re: How to access ACTUAL screensizes?

Hi @seadude ,

Do you want to create a responsive layout canvas app?

Have you turned off the "Scale to fit" option within the "Screen size + orientation" settings of App settings of your app?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please check if you have turned off the "Scale to fit" option within the "Screen size + orientation" settings of App settings of your app.

 

If you want to get the actual screensize, I think the App.Width and App.Height formula could achieve your needs. The app's Width and Height properties correspond to the dimensions of the device or browser window in which your app is running.

Please check the following article for more details:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout#understand-app...

 

Also please consider re-create a new app based on above article, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Re: How to access ACTUAL screensizes?

Hi @seadude have you made any progress with this? Can you advise if the above reply was helpful? 

 

Thank you,

 

@Anonymous 

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,127)