cancel
Showing results for 
Search instead for 
Did you mean: 

How to set layout ?

Former Member
0 Kudos

Hi,

I want to create three views within a main view like this:

_____________

[ v1 ] [v2 ]

_____________

empty [v3]

_____________

Actually view v1 should be stretched upto empty view.

How to set layout for main views and what are all things needs to be done?

it will be great if any help is provided.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Mog,

Matrix layout is the perfect layout. Set root container as matrix layout. Your V! and V2 will be matrix data and empty view and V3 will be matrix head data. Set height and width of root container as 100%. Also set v1, v2, Empty view and v3 to be 50% of the layout data. So that all will be positioned.

Hope this will solve your problem.

Cheers,

Darshna.

Former Member
0 Kudos

Put all the elements you want to the right (in your case v2 and v3) into a transparent container and set the layout as Grid Layout with column size 1. There by they will appear one below the other.

Now set the layout of the rootuielement container as Grid Layout with column size 2. Or you can set it as Row/Matrix layout and the element as row/matrix head data.

Your layout should contain v1 directly under the root, and all other elements under a transparent container. I think you should be able to specify the height of v1 as 100%, which wll ensure it stretches to the bottom of the page. Hope this helps.

Regards,

Nithya

Former Member
0 Kudos

Hi Mog,

You could set the layout of the ROOTUIELEMENTCONTAINER to GridLayout with a colCount of 2.

Then add v1 and v2 with colSpan = 1. (this would create the first line)

Then add an InvisibleElement and then v3 (colSpan = 1).

You can optionnally adap the hAlign property of each UIElement.

Regards,

Olivier MATT

mohammed_anzys
Contributor
0 Kudos

Hi Mog,

Set matrix layout for the main view and v1,empty should be matrix head data..and you should set the approx width for the container to maintain a consistence.

Thanks

Anzy