Page 1 of 1

Size of popup multi block window

Posted: Monday 19 September 2022 13:48
by whoami
I'm using the block functionality to popup a screen with another set of blocks in it.
But I can't resize the popup screen. When in the popup screen are only 3 blocks of buttons I don't want to see the popup going almost fullscreen.
And is there a way to close the popup with a button of block itself?

Re: Size of popup multi block window

Posted: Monday 19 September 2022 19:30
by Lokonli
whoami wrote: Monday 19 September 2022 13:48 I'm using the block functionality to popup a screen with another set of blocks in it.
But I can't resize the popup screen. When in the popup screen are only 3 blocks of buttons I don't want to see the popup going almost fullscreen.
You can set the block parameters like:

Code: Select all

blocks['popupbutton'] = {
    popup: 'popup',
    frameheight: 300,
    framewidth:100
}

whoami wrote: Monday 19 September 2022 13:48
And is there a way to close the popup with a button of block itself?
No, that's not possible. (you can click on the 'X' or outside the frame or set a timeout to auto close)