cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seadude
Level 10

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
seadude
Level 10

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 🙂 ?



 

Community Support Team
Community Support Team

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.
TopShelf-MSFT
Level 10

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,

 

@TopShelf-MSFT 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,633)