Skip to Content

How to get a UI5 App start with content based height

Hello all,

i have the following scenario. I have a master app that reuses two child apps in component containers. Those child apps load as expected but they always load with height 100%. So if I have those child apps vertical aligned together, they both use the whole available height ending up in this:

Is there a way develop those reusable child apps in way, that they start with content based height?

/BR Tobias

appreuseui5.png (13.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • I am not sure how SAPUI5 handles VH, but if i was doing this with minimal html css, i would add a class to the main wrapper. Sett a hard coded height on the header and footer, then use some css calc

    .className{
    height: calc(100vh - (headerHeight - footer height))
    }

  • Get RSS Feed

0 Answers