Size of popup multi block window Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Size of popup multi block window

Post 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?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Size of popup multi block window

Post 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)
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest