cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a UI5 App start with content based height

former_member191044
Active Contributor
0 Kudos

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

former_member560141
Participant
0 Kudos

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))
}

Accepted Solutions (0)

Answers (0)