cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Transparent Container

Former Member
0 Kudos

Hi,

I am new to Web Dynpro. I have the following problem.

How to set Streched horizontal property in Transparent Container dynamically?

Thanks,

Peter,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Put the coding after creating transparent container

dynamically. hope it will be very helpful for you

IWDTransparentContainer trans=(IWDTransparentContainer)view.createElement(IWDTransparentContainer.class,"TranF");

trans.createLayout(IWDMatrixLayout.class);

trans.destroyAllChildren();

IWDMatrixLayout gl=(IWDMatrixLayout)trans.createLayout(IWDMatrixLayout.class);

gl.setStretchedHorizontally(false);

Kind Regards

S.Saravanan

Former Member
0 Kudos

hi

hope it will be very helpful

IWDTransparentContainer transNew=(IWDTransparentContainer)view.createElement(IWDTransparentContainer.class,"TranName");

transNew.createLayout(IWDMatrixLayout.class);

transNew.destroyAllChildren();

IWDMatrixLayout gl=(IWDMatrixLayout)transNew.createLayout(IWDMatrixLayout.class);

gl.setStretchedHorizontally(false);

gl.setStretchedVertcally(false);

if you give gl.setStretchedVertcally(false);

it will be very compact structure in your view

Regards

Dhinakar J

Answers (0)