Panel minHeight resize handler

110
0
12-03-2020 08:29 PM
VictorTey
Esri Contributor

Hi,

Have anyone managed to set the minHeight for a panel in the widget?

I am using enterprise portal webappbuilder (by publishing the widget) 10.7.1/ 2.12 wab

I tried the before but it did not work. Can anyone advise?

_setPanelHeight: function () {
      var panel = this.getPanel();
      panel.position.height = 600;
      panel.setPosition(panel.position);
      panel.resizeHandler.minHeight = 50
      panel.resizeHandler.minSize= {w:400, h:50}
      panel.panelManager.normalizePanel(panel);
    },

 

0 Kudos
0 Replies