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
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:
Also please consider re-create a new app based on above article, then check if the issue is solved.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.