Annotation boxes too long, how can I shorten them?

donb_
Kilo Expert

I have several annotation fields where the box of the annotation field spans the whole page or just half the page.   I would like to limit/specify the size (and position) of the annotation field to align with the text box of the actual field to which the annotation applies.   I have mocked up the problem and the desired result below.   Thanks for viewing my post - any help or suggestions would be most appreciated!

find_real_file.png

                                 

7 REPLIES 7

Hi, 

How does this shorten the annotation box length?

Thanks

It does, automatically. Worked for me.

SanjanaK
Tera Expert

Just sharing what worked for me, this can be helpful for future readers!!

Today I had similar issue where I wanted to minimize the width of the Annotation (Info Blue Box). 
Since, the default Info Blue Box takes the full screen width, so created new one and used that in Form layout.

1) Go to 'sys_ui_annotation_type' table and create a new record, let's say 'Custom Info Box'. You can add styling as per your requirement.

Name: Custom Info Box

Style:
width: 70%; text-align:left; background-color: #BDDCF2; margin: 0 auto; margin-left: 260px; padding: 6px; border-radius: 5px;

2) Go to Form Layout and select your Annotation --> Annotation Details --> Select your newly created Annotation Type and Save.


*******************************************************

Hope the answer helps!
Happy Learning!