How to set height of a wrapped metanode?

Dear,

I have a "Value Filter" node, set to the selection type "Twinlist". It has 88 values in it.

Is there any way to set a maximum height, because now the list is so high the "next" button is not immediately visible?

This is the current layout

{
  "rows" : [ {
    "type" : "row",
    "columns" : [ {
      "content" : [ {
        "type" : "view",
        "sizeHeight" : true,
        "sizeWidth" : false,
        "nodeID" : "41",
        "resizeMethod" : "viewLowestElementIEMax",
        "autoResize" : false,
        "scrolling" : false
      } ],
      "widthMD" : 12
    } ]
  } ]
}

Best regards,
Koen

Hi Koen,

you can specify a minimum and maximum height in the layout. To do that add the appropriate properties to the content element of type view of the corresponding node. Also set the 'scrolling' property to true, so that the container will be able to display scroll bars for your component. Taking your example this could look like:

{
  "rows" : [ {
    "type" : "row",
    "columns" : [ {
      "content" : [ {
        "type" : "view",
        "sizeHeight" : true,
        "sizeWidth" : false,
        "maxHeight": 400,
        "nodeID" : "41",
        "resizeMethod" : "viewLowestElementIEMax",
        "autoResize" : true,
        "scrolling" : true
      } ],
      "widthMD" : 12
    } ]
  } ]
}

 

1 Like