- This topic is empty.
- AuthorPosts
-
- 06/13/2013 at 12:33 pm #4459
AnonymousParticipantHi
Qlistform web part used to produce a tabular display to replace the OOTB display form provided by SharePoint.
For consistency purposes, is there any way that the field label space can be the same size for all fields in all, tabs.
See below the 2 tabs that produce a different width of “displayed data”.
Adding a Width=”xxxx” pixels or a fixed length field label via the Title=”aaaaa “ parameter to the Display tab XML, still does NOT change either the length of Titles or produce a fixed sized data display area.
Any ideas ???
Thanks
-
06/13/2013 at 12:33 pm #5432
AnonymousParticipantHi
I noticed that this thread has not been answered for a while since you posted. After I responded to another thread you posted on this community site, I noticed this thread. I hope you already find a solution to the problem you posted here. If not, I hope the following workaround can help.
You can override the UI rendering with some custom CSS style to achive the desired style you wanted. Basically the field is rendered in HTML table, with the field label in ".ms-formlabel" class and the input field or field value display in ".ms-formbody" class. To make them consistently across tabs, you could try the following:
- Add a Script Editor web part on to the page so you can inject some HTML inline CSS style.
- Click Edit Snippet and include the following code (modify it to what you prefer)
- Exit editing and save the changes.
<style media="screen" type="text/css">
.ms-formlabel {
font-size: 14pt;
width: 60%;
}
.ms-formbody {
width: 40%;
}
</style>
-
- AuthorPosts
You must be logged in to reply to this topic.