I would like the to make the attribute table open to a larger portion of the screen then it does normally. Can anyone advise where I can set the default height for the widget when it opens? I have been looking around in the widget.js file but can't seem to find where I can set the initial size.
Solved! Go to Solution.
Andrew,
The height od the AT widget is set in the AT Widget.js file in the _getNormalHeight function:
_getNormalHeight: function() {
var h = document.body.clientHeight;
return window.appInfo.isRunInMobile ? h / 2 : h / 3;
},
Line 3: h / 3 means one third of the window height.
Andrew,
The height od the AT widget is set in the AT Widget.js file in the _getNormalHeight function:
_getNormalHeight: function() {
var h = document.body.clientHeight;
return window.appInfo.isRunInMobile ? h / 2 : h / 3;
},
Line 3: h / 3 means one third of the window height.
Thanks Robert!