cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply LayoutData to elements in a FlexBox?

03-08-2018 11:08 AM
2010 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hello everyone,

I have a Label, Input field, Button and 3 Link controls which have to appear in-line on desktop and one below the other on mobile screen, as shown in the pictures below.

Desktop:

Expected Mobile:

I am able to achieve what is expected on the desktop. However when the same is rendered on the mobile it appears as below.

Actual Mobile:

I have used Flexbox to align the controls as required, wherein the LayoutData for the controls within the FlexBox doesn't appear to work. Can anyone help me to get the LayoutData applied to the controls.?

I have tried using the Grid Control, but the controls like the Label and Input are placed far away from each other and doesn't seem to render as required on the desktop. Screenshot below.

Thanks

Maruthi

0 Likes

Accepted Solutions (0)

Answers (0)