cancel
Showing results for 
Search instead for 
Did you mean: 

problem with auto layout rendering

Former Member
0 Kudos

hi webdynproites,

iam getting problem in layout rendering when

ex: i have martix layout for parent container,in that i have 4 containers,

2 in first row,

2 in second row,

in each container (child) i have 3 fields

<label> <input field><text view>

some times my model not having text view values

when rendering layout by running ,that containers are moving left or right depends on text views values

****imp: how can i restrict the movement.

plz help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Try setting the (minimum) width of the MatrixLayout cell to some pixel value, see IWDMatrixData.width property.

Armin

Former Member
0 Kudos

Hi Hari,

Matrix Layout has this behaviour that you see in your application.

So Change the layout of parent container to Grid Layout with Col Count 2.

This will ensure that you have proper vertical alignment.

However, if you want to fix the layout to certain width, set the width of the Parent Container and then set the width of the child container to certain fixed width.

Hope this helps.

With Best Regards,

Shubham

Former Member
0 Kudos

You don't see TextView elements in view if "text" property is empty.

Probably layout of the child containers is "FlowLayout". Change that "layout"

to GridLayout and set "colCount" to 3. They should be done in same order -

you would see "colCount" only after selecting a GridLayout.

Look at this tutorial for input form ui design.

http://help.sap.com/saphelp_nw04s/helpdata/en/99/34be5f4ee2974a8e7e127c4aeacd9b/frameset.htm

I suggest you to read some material on Layout Managers. You never can design good UI without

understanding the Layout Managers.

Good luck!