cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 Smiley Happy ?



 

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.
Administrator
Administrator

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 546 members 5,938 guests
Please welcome our newest community members: