Screen resolution and page size

0
Hello everyone,   I have a requirement where as per the screen size the data and widgets on the page must fit the page, for example, if my screen size is 13inch monitor and have certain data grids on the page which I don’t have to scroll horizontally then with screen size of 32 inch screen as well the data should fit the page and the user does not have to scroll for anything. Can anyone help me with this?
asked
2 answers
0

Are you familiar with media queries in CSS? See this link

answered
0

Hi Garima,

 

You have to use the scroll container widget. Put the details into the center region of the scroll container, and the navigaton buttons put into the bottom region (before it, you have to enable the bottom region).

See this page: https://docs.mendix.com/refguide/scroll-container/


But , In mendix 9 you can select the width of the columns in a layout grid based on the device. it’s better to use percentages while setting screen resolutions. like 120%,20%,30% instead using px

 

Regards,

Zia

 

answered