cancel
Showing results for 
Search instead for 
Did you mean: 

Alignment of Labels and Input Fields

Former Member
0 Kudos

Hi,

I have developed a webdynpro application which contains labels and input fields. In the screen, all the labels are aligned to the left and the input fields are aligned to the right.

How to bring the input fields close to the labels?

Thanks,

Venkat

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Assuming you use MatrixLayout, set property "stretchedHorizontally" to false.

Armin

Former Member
0 Kudos

Hi,

Use <b>gridlayout</b> of <b>Two cols</b> and set the property <b>stretchedHorizontally</b> to <b>false</b>

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

Set the layout property of your container to Matrix Layout

For all the labels set the LayoutDataProperty to MatrixHeadData.

Regards,

Murtuza

Former Member
0 Kudos

set the rootcontainer layout property to matrix layout.

then set the input fields and labels layoutdata property to matrixheaddata..

GS

Former Member
0 Kudos

set the halign property to left 4 label as well as input field