Skip to Content

UI5 sap.m.table unexpected left margin after deploy to fiori launchpad

Hello Everyone.

I have a page with a sap.m.table. After deploy, if I access the app directly from the public url generated using the mobile view, everything displays correctly. However, after deploying to fuiri launchpad and using the same mobile view, averything seems to be right aligned leaving a lot of space behind.

View accesing directly from URL:

View accesing from fiori launchpad:

After inspecting the source, we can see that it creates some weir td not present when accessed outside fiori launchpad:

Any ideas?

Regards.

view1.jpg (24.1 kB)
view2.jpg (19.8 kB)
view3.jpg (179.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 08, 2017 at 02:16 AM

    As displayed in one of your comment, padding gets added to ensure that when the screen is reduced, the controls are aligned back without altering the view. As a practice, the labels are right aligned and as you keep reducing the width of the browser the empty space reduces.

    You can override it by altering the CSS applied to the containers inserted in Launchpad.

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded