Forum Discussion
Can the box of multi line text in Microsoft List become larger? Easy to view
Hi, respected Microsoft engineer
May I ask a question on how to enlarge the box of multi line text in Microsoft List to facilitate editing and viewing when there are many words.
As shown in the picture: Originally a green box, I wanted it to become so big as a red box. Is there any place where I can click on the design or adjust it through JSON code? Could you please teach me? Thank you
Roshan2023 Are you trying to increase the width of column in list form or list view?
I think the screenshot you shared is from list form. In that case, check if you have applied any list form "body layout" customizations and remove those if any (it does not support single-column layout sections with full width currently).
Check this documentation: SharePoint list form - configure custom body with one or more sections
Note: Configuring form body will switch your list or library form layout from single-column to a multi-column layout. We will add support for configuring the body with single-column layout in a future update.
As it is not possible using JSON formatting, you will have to customize the list form using Power Apps. Check: Customize a Microsoft Lists or SharePoint form by using Power Apps
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Rob_ElliottBronze Contributor
Roshan2023 to increase the width you can just drag the right hand side of the column and then save the view.
To show all the text in the multiple lines of text column, format the column in advanced mode:
Then paste in the following JSON and save.
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "@currentField", "style": { "white-space": "normal", "padding": "11px 0" }, "attributes": { "class": "ms-fontColor-themePrimary" } }
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP (and classic 1967 Morris Traveller driver)- Roshan2023Copper ContributorThanks, Rob.
Roshan2023 Are you trying to increase the width of column in list form or list view?
I think the screenshot you shared is from list form. In that case, check if you have applied any list form "body layout" customizations and remove those if any (it does not support single-column layout sections with full width currently).
Check this documentation: SharePoint list form - configure custom body with one or more sections
Note: Configuring form body will switch your list or library form layout from single-column to a multi-column layout. We will add support for configuring the body with single-column layout in a future update.
As it is not possible using JSON formatting, you will have to customize the list form using Power Apps. Check: Customize a Microsoft Lists or SharePoint form by using Power Apps
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Roshan2023Copper ContributorHi Ganeshsanap,
Thank you for your reply. I am referring to the list form.
I am a beginner in SharePoint and have just learned how custom body with sections.
I think I will use power apps to build list form
Thanks,
roshan