on 09-22-2008 9:16 PM
Hi all,
how can İ ınsert a Label (WebDynpro Element) in the next line. İt will be placed always
in the same line near an existing element. İ would like place it in the next line.
Please notice İ am inside of a TransparentContainer.
How does it work ?
Regarsds
erdem
Hi,
For TransparentContainer properties edit following properties,
layout="Grid Layout"
colCount=1
then each UI element you add come in next line.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
erdem,
Set layout of your TransparentContainer as MatrixLayout at design time or run time. Assign MatrixHeadData value to LayoutData property of label dynamically with this code.
IWDTransparentContainer root = (IWDTransparentContainer)view.getRootElement();
root.createLayout(IWDMatrixLayout.class)
IWDLabel lb1 = view.createElement(IWDLabel.class, "label");
lb1.setText("Up");
IWDMatrixHeadData mathead = lb1.createLayoutData(IWDMatrixHeadData.class);
root.addChild(lb1);
Hope this helps.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.