Scaling Issue
I have created a form that scales on a large screen with a resolution of 1920 x 1080:
But it does not scale properly on a laptop screen with a resolution of 2256x1504:
The line the Close button is on has the following items:
Text field (50 Star, column 1)
Cancel button (1 Star, column 2)
4 more columns (to get it to show within the box at the 1920x1080 scale)
Here is a picture of the Forms Designer placement:
Any insight on how to correct this?
But it does not scale properly on a laptop screen with a resolution of 2256x1504:
The line the Close button is on has the following items:
Text field (50 Star, column 1)
Cancel button (1 Star, column 2)
4 more columns (to get it to show within the box at the 1920x1080 scale)
Here is a picture of the Forms Designer placement:
Any insight on how to correct this?
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear YumaIT,
Unfortunately, the scaling will always be complicated with the classic SharePoint UI which Helpdesk currently uses, due to its reliance on HTML tables. We're in the process of creating a Modern UI version for SP Online, which should make this easier, but until then, it's possible to use media queries to change the layout for different screens.
For example, I can see that you experience the issue with the Cancel button. I am not sure if you've modified its TABLE CELL property, but by default it has CSS class pl-header-button-cell and I'll be using it in my example. If you've modified it, you might need to add the CSS class back for this to work.
What you need to do, is find the resolution at which the button is going behind the UI, and modify its width so it moves to the left. This can be done with the following CSS code (resolution value is just an example), place it inside CSS editor in Forms Designer:
Unfortunately, the scaling will always be complicated with the classic SharePoint UI which Helpdesk currently uses, due to its reliance on HTML tables. We're in the process of creating a Modern UI version for SP Online, which should make this easier, but until then, it's possible to use media queries to change the layout for different screens.
For example, I can see that you experience the issue with the Cancel button. I am not sure if you've modified its TABLE CELL property, but by default it has CSS class pl-header-button-cell and I'll be using it in my example. If you've modified it, you might need to add the CSS class back for this to work.
What you need to do, is find the resolution at which the button is going behind the UI, and modify its width so it moves to the left. This can be done with the following CSS code (resolution value is just an example), place it inside CSS editor in Forms Designer:
Code: Select all
@media only screen and (min-width: 2100px) {
.pl-header-button-cell{
width: 260px !important;
}
}
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests