on 11-18-2005 11:40 AM
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
Try setting the (minimum) width of the MatrixLayout cell to some pixel value, see IWDMatrixData.width property.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.