Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Alignment of textbox and static text

Avatar

Level 2

Hi Team,

I am developing a form I came across a situation that static text is followed by blank and again followed by static text again.Below is the sample for your reference

1275205_pastedImage_1.png

If i add a textbox in place of blank the static text is coming in the next line. I need alignment of the textbox and static text on the same line.But I'm getting alignment as shown below.Please help me out with this issue.

1275209_pastedImage_3.png

Regards

Ashwini

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Ashwini,

  1. Add a panel, break it into multiple columns, add fit your text box and static box into the column.
  2. In the style mode, use Text > Text Align property.

Regards,

Khushwant Singh

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Ashwini,

  1. Add a panel, break it into multiple columns, add fit your text box and static box into the column.
  2. In the style mode, use Text > Text Align property.

Regards,

Khushwant Singh

Avatar

Level 2

Hi Khushwant Singh,

            Thanks for your solution.

The above solution will work well with forms containing less blanks.But my form consists of many blanks.So I need to add many panels which is creating performance issues(consuming more time to load the form).

     Kindly let me know if there is any alternative solution.

Regards,

Ashwini