Highlighted

Checkbox alignment in table cells

Avatar

Avatar

Remluf_1

Avatar

Remluf_1

Remluf_1

10-07-2007

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.

Replies

Highlighted

Avatar

11-03-2008

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!
Highlighted

Avatar

Avatar

ArrueiraVermelh

Avatar

ArrueiraVermelh

ArrueiraVermelh

01-03-2013

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

Highlighted

Avatar

Avatar

murrjames

Avatar

murrjames

murrjames

04-10-2015

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?

Highlighted

Avatar

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150
Magus069
MVP

08-10-2015

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

Highlighted

Avatar

Avatar

cguzman1144

Avatar

cguzman1144

cguzman1144

04-12-2019

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.