on 12-02-2008 2:18 PM
Hello all,
I am editing standard ESS /MSS dc threw NWDS . in the view of dc i am creating a Transparentcontainer in this container i am inserting a lable and input field.but when i am running the application the lable and the input field is not coming at proper position.
I want to how may i change the position of these fields so that i can them on screen as per my requiremnt .
Thanks.
Punit
Hi,
To get the proper alignment you have to use the layouts properly.
Check with all the layouts and see for better alignment.
Use the Matrix layout and try once.
Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Punit,
Try the following piece of code (assuming you are adding UI element dynamically) before adding the label and the input field to the transparent container.
IWDTransparentContainer someObjName = (IWDTransparentContainer)view.createElement(IWDTransparentContainer.class, "SomeContainerName");
someObjName.setWidth("70%");
IWDGridLayout ContainerGridLayout = (IWDGridLayout) someObjName.createLayout(IWDGridLayout.class);
ContainerGridLayout.setColCount(2);
Hope it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See what is the layout property of the transparen container and you have to set the property of your layout container as per the layout you want to have.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
by using the properties like Layout of Transparent container and Layoutdata of label and input field you can put them in required position.
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.