Qlik Community

Qlik Sense Cloud Discussions

Highlighted
trintott
New Contributor

Qlik Sense; Dynamic DIV height based on object

Hi guys,

I'm encountering a problem in Qlik Sense with the height of the container where objects are dragged in. In the Mashup Editor i've made a template where multiple objects can be dragged in. However, the div where an object can be dragged in requires a set height. When the height is set there is no problem, however i want the height to be the same height as the object within so there are no white spaces underneath the object. I'll show you an example:

dateExample.png

As you can see the object is way smaller than the height of the container div. This is because the height is set to 150px. Changing the height to auto will result in the height being 0, so it won't display. Hardcoding the height of the div is not an option as it is a class which applies to multiple objects from different heights.

Does anyone know how to accomplish how to get the height to have the same height as the object inside it? Maybe any tricks around it?

Hope somebody can help!

Thanks in advance!

Greetings,

Trinto.

1 Reply
bryantownsend
New Contributor

Re: Qlik Sense; Dynamic DIV height based on object

Have you had any luck finding a solution for this? I'm having the same issue.