cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForm - Centering text vertically inside a table.

Former Member
0 Kudos

I need to figure out a way to center text, vertically, inside a table node. I can't predict the height of the table row so using a static number of return characters is out of the question. Is there any way to do this?

Regards,

Davis

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Davis,

Create one Paragraph Format in SmartStyle with Center format.

And apply it in Smart form.

Hopes it helps you.

Ali

Former Member
0 Kudos

Thanks but that only centers it horizontally (left to right).

Davis

Former Member
0 Kudos

Davis,

Goto SmartStyle T.Code.

Create one Paragraph Format let say P1

Click on Indents and Spacing Tab.

Alignment dropdown box,Select <b>Centered</b>.

Hopes it will help you.

Ali.

Former Member
0 Kudos

Quadri, unless I am mistaken that only centers the text horizontally.

Davis

Former Member
0 Kudos

Sorry Davis, I is not possible directly.

We have to write some code in program lines.

Like based on the no.of lines, we have to write the text after no.of lines / 2.

i.e. that may times we should skip the line.

Hopes it helps you.

Ali

Former Member
0 Kudos

Is there a system field that contains the number of lines? The number of lines is dynamic; it all depends how long the material description is, how many header lines there are, if there is an old material number, if there is a customer material number, etc...

Davis.

Former Member
0 Kudos

In Debug mode have to check.

Ali