Jump to content
  • 0

Not justifying certain rows or cells in DP


roattw

Question

For a give DP form I usually have three fields next to each other on a line/row.  I always have trouble getting just those elements in that row to not go full justified.

I usually end up with this:
 

wide.thumb.png.92cb1e2d6c48d852a6c9707ee8e94a43.png

 

When I would prefer this:

 

correct.png.1a16e67f3758af8e636583b59aec16e8.png

 

Hard to find via Chromes F12 Inspect. a

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi! Just to update this post, you can use CSS code to adjust the gap between the checkboxes and labels. My current setup is that I have one section with six fields and separate them into two groups. I just aligned them by enabling the Continue next element on the same line option on the fields. 

Add this code to the header of your DataPage and just change the label name according to the label name you have on your DataPage. 

<style>
div[data-cb-cell-name*="InsertRecordCourse"]{
width: 17px !important;
}
div[data-cb-cell-name*="InsertRecordCompanyName"]{
width: 69px !important;
}
</style>

You can adjust the width based on your preference. 

Original layout:

image.png.ca94924fd9cee37bd49fc907b4443102.png

 

After the CSS code is applied:

image.png.996c3b92a91e9ef22ccda8c76bdbbaeb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...