on 05-11-2010 5:05 AM
Hi
I am writing a dynamic code in the doModify() method to create a set of UI elements within a Transparent container at runtime.
I need more spacing between two rows of UI elements. So I thought of adding the Padding Bottom property to the UI elements. Since the UIs are generated at runtime, I need to specify the Padding Bottom value at runtime as well.
Please advise how to achieve that.
Thanks and Regards,
Sayan Ghosh
I hope that helps you!
IWDTransparentContainer trspContHeaderButtonsLeft = (IWDTransparentContainer) view.createElement(IWDTransparentContainer.class, "trspContHeaderButtonsLeft");
{
IWDGridLayout gridLayouttrspContHeaderButtonsLeft = (IWDGridLayout) trspContHeaderButtonsLeft.createLayout(IWDGridLayout.class);
{
gridLayouttrspContHeaderButtonsLeft.setColCount(6);
}
IWDGridData gridDatatrspContHeaderButtonsLeft = (IWDGridData) trspContHeaderButtonsLeft.createLayoutData(IWDGridData.class);
{
gridDatatrspContHeaderButtonsLeft.setColSpan(1);
gridDatatrspContHeaderButtonsLeft.setHAlign(WDCellHAlign.FORCED_LEFT);
gridDatatrspContHeaderButtonsLeft.setWidth("1%");
}
}
regards,
Angelo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.