on 02-01-2008 10:11 AM
Hi ,
I am generating Dynamic UI elements ( textview , transparentContainers) in my application . How to change its LayoutData properties (paddingatleft , paddinf at right , halign etc)???
Kavita
Hi,
Following is the samples
IWDGridLayout gridLayout = container.createLayout(IWDGridLayout.class);
gridLayout.setCellPadding(cellPadding);
gridLayout.setCellSpacing(cellSpacing);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.Change the layout to Matrix Data for the Root UI Element container.
2.Set the layout of the table as MatrixHeadData and set the properties of the layoutdata. Use the following code:-
IWDMatrixHeadData tableData = (IWDMatrixHeadData) table.createLayoutData(IWDMatrixHeadData.class);
tableData.setHAlign(WDCellHAlign.CENTER);
tableData.setVAlign(WDCellVAlign.MIDDLE);
tableData.setcolspan(int colspan);
xxxxxxxxxxxxxxxxxxxx
Regards,
Subashini.
Edited by: Armin Reichert on Feb 18, 2008 7:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.