Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Checkbox alignment in table cells

Remluf_1
Level 2
Level 2
Am using Designer 8.



I have changed the type for the cells in one of my table columns to checkbox. I am displaying the checkboxes as sunken squares. How do I center the checkbox (sunken square) in the cell? The cell is wider and taller than the sunken square.



Thanks.
6 Replies
Not applicable
Did you ever figure out how to do this?
Not applicable
I figured out the trick to centering the checkbox! Mystery solved.



1) Insert a numeric field onto your form.

2) Click the Center icon in the Paragraph tab or toolbar.

3) In the Object, Field, Type, change it to a checkbox.

4) In the Layout, caption, change layout to Top.



That's it, your checkbox is now centered!
ArrueiraVermelh
Level 3
Level 3

I tried the above and ended up with cells that were at least 1/2in tall if I wished the check box to be vertically centered as well, so instead:

  1. Converted the table cells directly to check boxes
  2. Layout > Caption > Position > Right (I am guessing "Left" would work too)
  3. Deleted the Caption text (Object > Cell > Caption)
  4. Adjusted the Reserve value till the checkbox was centered (in my case 0.01in) (Object > Cell > Caption)
  5. Changed the cell height to a comfortable 0.25in (Layout > Size and Position)

Pic below

Snap 2013-03-01 at 11.09.23.png

murrjames
Level 2
Level 2

Hi, I have had no response from Livecycle forum. If I want 3 checkboxes side by side, do they have to be in a table? Cant seem to do it otherwise?

Magus069
Level 10
Level 10

You can have a subform with content set to "flowed" and flow direction set to "western text",

this will organize objects side by side as long as it fits in the page's width

cguzman1144
Level 1
Level 1

I have done this.

After adding the check boxes to the table using the Object Library, select the cells with the check boxes.

Under the Layout tab, set Caption to None.

Then, adjust the Right margin so that your check boxes are centered.

For my 1/2 inch column, a .2 inch right margin looked nice.