How to set variable width
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2023 08:23 AM
Hello Community,
Is anyone able to guide me on how to make my variable sizes smaller. I'm using single line variable and its taking the whole page, i'd like it to just take up up about half or approximately the position of the red mark in the image below.
Thank you in advance for your inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2023 11:55 AM
Hi @Baba Femi ,
You can try to reduce the variable width upto 25% and test.
If that didn't work for you then add container
-Thanks,
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 07:27 AM
Thanks for your response, reducing the width percentage doesn't reduce it. I am not particularly sure what that functionally does, I didn't notice any difference in the layout or size of the variables.
Adding the containers partitioned it into decent size but it forces the layout into two columns which wasn't what I was looking for. I'd like to have all the variable in one column but the width half size, without adding a 2 column-container start and end, for every variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 10:29 AM
I don't see any direct option available for such column width because the same widget is used for all catalog items.
as a workaround, you can keep each variable in separate 2-column container (not a good idea ).
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0727842
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2023 07:16 AM
Hi @Baba Femi
Did you try the @AshishKM solution.
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]
****************************************************************************************************************