how to set webix window height/width and width in percentages based on viewport height/width
try to define position as function
https://snippet.webix.com/9nthbfzf
Thanks for you reply.
I did something like this
function getWindowHeightInPercent(percentVal) {
return Math.round((window.innerHeight * percentVal) * (.01));
}
function getWindowWidthInPercent(percentVal) {
return Math.round((window.innerWidth * percentVal) * (.01));
}
{
height: getWindowHeightInPercent(90),
width:getWindowWidthInPercent(80),
}