How to make an info message fit to the screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 06:22 AM
Please refer to the below image as it does not show full info message so i want it to be shown in full screen. is there any solution for it?
Below the last line there are still few lines which is to be visible but i am unable to see the message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 06:40 AM
Hello Prithvi,
You can use the properties `window.innerWidth` and `window.innerHeight`. These properties provide the dimensions of the screen, allowing you to adjust the size of your information message accordingly. Determine the appropriate margins from the top, bottom, left, and right based on these width and height values.
Should you require any assistance during the implementation, please feel free to reach out.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2023 01:57 AM
Hi @Community Alums
I am not sure but give a try to these 2 properties - window.innerWidth` and `window.innerHeight which help you to adjust the message.
Please mark this response as correct or helpful or the solution accepted if it assisted you with your question.
Regards
Atul G.
Learn N Grow With Atul G
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2023 04:34 AM
Hi @Community Alums,
Remember if you modify the system properties then it would be global change on all the tables.
If you require this only for specific tables then you will have to go with the HTML option within the addInfoMessage.
[OR]
To fit the box you can use HTML varaible which has all these text and reduce the size of text down to few pixels, this will fix your issue.
I hope this helps.... Be aware when changing and sys_properties it can have global impact.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
