cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic UI set vAlign for Caption UI

Former Member
0 Kudos

Hello everybody,

I create dynamic UI-Elements.

I have a GroupUI which nests a transparentContainer.

The layout of the Group is GridLayout with 3 columns.

For each cell of GroupUI I nest a captionUI. I want to set the vAlign-property to the caption.

How can I achieve this?

There is NO method: caption.setValign!!!

Thanks a lot, regards Mario

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Mario,

Try this:


IWDCaption caption 
  = (IWDCaption)view.createElement(IWDCaption.class, null);
IWDGridData cell 
  = (IWDGridData)caption.createLayoutData(IWDGridData.class);
cell.setVAlign(WDCellVAlign.TOP);

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Answers (0)