on 03-02-2006 7:33 AM
Hi collegues,
i would like to display my Web Dynpro ABAP application in the center position of the browser. I'm using the matrix layout as layout control for the ROOTCONTAINERUIELEMENT. The attributes strechtedHorizontally and strechtVertically are unchecked. I tried to set the width attribute to 100% and align another container element to the center by setting the attribute hAlign with the value center. Unfortunately it doesn't work. Maybe anybody of you has another idea.
Kind regards,
Albert
Hi Albert,
AS in WD for Java:
We cannot center align the root container. Instead, we can define it's width as 100%. Then define another container inside that, set it's LayoutData width as 100% and halign as 'center'. Set the Container width as what you require, say 60%. So the container data will occupy 60% of the screen and will be aligned to the center.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nibu,
unfortunately, when i use the 100% value for attribute width of ROOTCONTAINERUIELEMENT, it doesn't take the complete width space of the browser, but the size of my container inside. When i use for example the value 1000px instead of the 100% in that way you described before, it works. But this solution isn't exactly that what I#m looking for. Is there any other opportunity.
Regards,
Albert
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.