cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the layout manager to be MatrixLayout?

Former Member
0 Kudos

Dear All,

Anyone knows how to change the layout manager to be MatrixLayout and the stretchedHorizontally and stretchedVertically properties to false.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

select the container from the outline view of your respective view.

from the properties of container

set the property layout to Matrix layout

once this is done

following properties will be displayed

stretchedHorizontally

stretchedVertically

set them as desired , in your case false

Regards

Ayyapparaj

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Brian Lee,

You can change the layout manager to be MatrixLayout bu going to the properties of your View UI elements. In the property yiu will find the property called Layout there you can change to the required Layout(Matrix, Grid,Flow & Row Layout).And in the property sheet only you will fine the properties stretchedHorizontally and stretchedVertically by default they are set to true and you cn cahnge them to false in the Propery Sheet.

In the outline it will display the UI elements->right click on the container->properties(it will open the property sheet)-> now you can change the required properties.

Thanks n Regards,

Jhansi Miryala

Former Member
0 Kudos

Thanks Everyone...

Regards,

Bryan

Former Member
0 Kudos

Hi,

Please try this code which will change the layout to IWDMatrixHeadData.

IWDMatrixHeadData tableHeading= (IWDMatrixHeadData) someTextView.createLayoutData(IWDMatrixHeadData.class);

Regards

-Sandip