on 10-10-2007 5:36 PM
I have a transparent container with 2 ViewContainerUIElements in which I placed child views.
The transparent container has matrix layout, the 2 ViewContainerUIElements have the attribute layoutdata = MatrixData.
Why is the child view inside the left ViewContainerUIElement left aligned, but the view in the right ViewContainerUIElement right aligned automatically? That means the screen is filled from the left and the right with a huge gap in between. How can I change the behavior so that the screen is filled from the left?
This behavior is not limited to ViewContainerUIElement, but seems to be the same when using other controls.
I assume that the view in the right ViewContainerUIElement is right-aligned, but can not be sure because I cannot see the boundaries of the container element and the view controls. In the description of the MatrixLayout control I found an attribute DebugMode which shows the cell borders when set to true, but I don't know how to use this control.
Any help is appreciated.
Regards,
Marc
Fine, thanks, it works. Do you know about the DebugMode attribute to see the cell boundaries?
Josef
P.S. Don't wonder about the mixing of names, my colleague and me wrote the question together.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the description from the document "SAP Unified Rendering Control Guidelines", which lists in section 3.1 the layout controls, e.g. MatrixLayout. But I don't know how to use them. Are these real controls?
Josef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set "stretchedHorizontally" = false for the MatrixLayout of the container.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.