on 12-07-2008 3:09 PM
Hello,
We use DOE SP6 and Mobile Client version 7.10 Rev.2 (Version ID
07100040200).
We have an application for Notification handling, developed in Web
Dynpro for Mobile Laptops.
One of the requirements of the application is to have a few buttons
appear on the right side of the screen.
The root element in the screen has a MatrixLayout.
We put the buttons in a TransparentContainer with MatrixLayout.
All the elements in the TransparentContainer (including the container)
are defined as forceRight in the hAlign property in the screen. In the
preview it looks like it is right-justified, however, when we run the
application the buttons appear on the left-most side of the screen.
Thanks in advance,
Sergey
Hi,
I tried the same and it works. I did the same steps
The root element in the screen has a MatrixLayout.
I put buttons in a TransparentContainer with MatrixLayout. I have Layout of the transparent Container as MatrixLayout and the layoutData:MatrixData
button1 : layoutdata: MatrixData
button2: layoutdata: MatrixData
In the design time also i see all the above as rightaligned and in the runtime also.
Mobile Client version 7.10 Rev.2
Thanks and Regards,
Narayani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I created a new view exactly as you wrote and the buttons were still on the left side.
I noticed that this problem only happens with TransparentContainer elements (Group, Button and TextView are all right-justified if I use forceRight).
I managed a workaround with a left-justified TransparentContainer with a width of 100% which pushes all the other elements to the right.
Thanks for your help.
Sergey.
Hi,
In the matrix layout => for all the elemnts there would be a matrix data and matrix head data.
Left aligned is matrix head data, and right aligned are the matrix data.
Also have you defined the button inside the root element which has matrix layout?
You can try if this works.
Thanks and Regards,
Narayani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.