cancel
Showing results for 
Search instead for 
Did you mean: 

Right-justified buttons in mobile client 7.1 appear on left

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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