function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raghav TRaghav T 

How to Customize Field Layout ?

HI there,
I am working on paglayout. And I see the Layout is different..
Here the field values are below the field label.
User-added image
hat i Actually want :
User-added imageCan anyone guide me, and how can i do that?
Thank You.
Best Answer chosen by Raghav T
SwethaSwetha (Salesforce Developers) 
HI Raghav,
You can change this from the display density settings. 

In LEX click on your profile picture> You will see comfy and compact as density settings.
See related: https://www.infallibletechie.com/2018/08/change-your-view-with-display-density.html
For custom code: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_display_density.htm

If this information helps, please mark the answer as best. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Raghav,
You can change this from the display density settings. 

In LEX click on your profile picture> You will see comfy and compact as density settings.
See related: https://www.infallibletechie.com/2018/08/change-your-view-with-display-density.html
For custom code: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_display_density.htm

If this information helps, please mark the answer as best. Thank you
This was selected as the best answer
Raghav TRaghav T
Hi Swetha,
Thanks, I am able to get the expected result.
But can we do this same thing for the rest user or specific user in our org.
SwethaSwetha (Salesforce Developers) 
As per https://help.salesforce.com/s/articleView?id=release-notes.rn_lex_display_density.htm&type=5&release=216 ,

From Setup in Lightning Experience, enter Density Settings in the Quick Find box, and then select Density Settings. The org default setting applies unless a user changes it from their profile menu. You can’t override a user’s display density preference.

Thanks
Raghav TRaghav T
Thanks Swetha, I am able to do that.
User-added image
Thank You.