on 10-08-2007 11:49 AM
Hello,
I am using the wdDoModifyView in order to create dynamic UI.
I am building a table in a container and add this container to the root container.
The table is centralised in the new container.
The problem is that at the result the table is not centralized, that is because the container added to the rot is not.
The layout of the root is Grid Layout, so if I would do this at design time I would set the HAlign property of the container below the root one to be center but I don't see this option in the container API. I assume I will need to play a bit with the layouts in runtime.
Can anyone please supply a piece of code for that?
Thanks,
Roy
Why not just giving the root container a matrix layout and adding the table into the root container directly? Set table.layoutData = MatrixHeadData with hAlign=center.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.