Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Formatting Check Box - Box itself

Avatar

Level 2

I'm running Adobe Designer 7.0 (I hope this is the right section for this question).

I've created a checkbox with a caption.  I can change the layout and position of the caption text but I can't figure out how to move the checkbox box.  Can I actually move it around?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

The checkbox itself cannot be repositioned inside of the object. I assume you are trying to center it under or over your caption. I woudl suggest that you do not have a caption on the checkbox but use a Text object to make your caption. That way you can adjust the individual objects accordingly.

Paul

View solution in original post

9 Replies

Avatar

Correct answer by
Former Community Member

The checkbox itself cannot be repositioned inside of the object. I assume you are trying to center it under or over your caption. I woudl suggest that you do not have a caption on the checkbox but use a Text object to make your caption. That way you can adjust the individual objects accordingly.

Paul

Avatar

Level 2

Thanks, that's what I thought.

Avatar

Level 10

Hi, Paul is right using the Designer UI, but I change the alignment by editing the xml source. I've been critised here for doing that and sometimes you do run into trouble but this seems a pretty save one.  In the XML Source you will probably see a para and maybe a margin element under the field element and also under the caption element.  In Designer it is the one under the caption you are editing.  If you edit the one under the field element you can acheive the result you are after try something like (with the important stuff in red);

         <field name="CheckBox1" y="6.35mm" x="15.875mm" w="95.25mm" h="28.575mm">
            <ui>
               <checkButton>
                  <border>
                     <fill>
                        <color value="255, 255, 255"/>
                     </fill>
                  </border>
               </checkButton>
            </ui>
            <para hAlign="center"/>
            <margin topInset="0.5mm"/>
            <font typeface="Myriad Pro"/>
            <value>
               <integer>0</integer>
            </value>
            <caption placement="right" reserve="88.25mm">
               <para marginLeft="7.2pt" spaceAbove="0.5pt"/>
               <value>
                  <text>I'm running Adobe Designer 7.0 (I hope this is the right section for this question).
I've created a checkbox with a caption.  I can change the layout and position of the caption text but I can't figure out how to move the checkbox box.  Can I actually move it around?</text>
               </value>
            </caption>
            <items>
               <integer>1</integer>
               <integer>0</integer>
               <integer>2</integer>
            </items>
         </field>

Seems to work fine for me, but then there maybe some reason this is not implemented in Designer that I haven't come across yet.

Anyway, might be another option than have a separate text field.

Bruce

Avatar

Level 2

Bruce, that's something I hadn't thought of trying.  To this point, I've been making the selection box (box around checkbox and text) big and realigning the text.  I'll fiddle with the XML a little and see if that helps some.

On a side note, I'll make sure to make everything 'snap to grid' next time I build a form.  lol

Avatar

Level 10

Hi, Getting everything lined up is painful, but I avoid positioned content unless I've got overlapping form elements.  With flowed content everything is lined up for you, though you may have to play with the margins. Bruce

Avatar

Level 2

What's the difference between positioned content and flowed content?

Avatar

Former Community Member

Positioned means that the object you are placing in the subform will be placed based on its x, y coordiate in relation to the top left corner of the subform ......so you can place things in the subform and it will stay there. The sibform itself has a defined size.

A flowed subform will put things left justified top  to bottom and grow based on what is placed inside of it. It has no defined size as it will only be as big as the objects inside of it. The subform can be setup to flow top to bottom or western text (left to right).

Note that a flowed subform can have positioned subforms inside of it.

Does that help

Paul

Avatar

Level 2

Yes, that makes perfect sense.

On this form, though, it's meant to be printed out and filled by hand so everything had to be manually positioned.

Avatar

Level 1

- Click to highlight the checkbox.

- Select the 'Remove Rotation Icon' 

(The orange guide line should be to the right of the checkbox symbol)

- Adjust the vertical to resize the left side of the Checkbox using the vertical 'orange' guide line to keep the checkbox box symbol to the left side.

It took about an hour to figure it out. 

 

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----