Page 1 of 1

2 different block sizes for same item

Posted: Monday 11 January 2021 9:29
by madpatrick
Hi,
I want to present the currentweather_big_owm on 2 different screens.
1x at the normal screen and 1x at the standby screen.
The only issue i have is that i need to different blocksizes.

I've tried this, but doesn't work

Code: Select all

var currentweather_1 = 'currentweather_big_owm';
var currentweather_2 = 'currentweather_big_owm';

blocks[currentweather_1] 		= {width :12}
blocks[currentweather_2] 		= {width :6}

columns[10] = {}
columns[10]['blocks'] = currentweather_1]
columns[10]['width'] 	= 4

columns_standby[1] = {}
columns_standby[1]['blocks'] = [currentweather_2]
columns_standby[1]['width'] = 12;


Re: 2 different block sizes for same item

Posted: Monday 11 January 2021 22:39
by Krenstik
Maybe can work set different size of collum ;-)

I´ve used it for the same value and different screens...

Re: 2 different block sizes for same item

Posted: Tuesday 12 January 2021 18:45
by madpatrick
Krenstik wrote: Monday 11 January 2021 22:39 Maybe can work set different size of collum ;-)

I´ve used it for the same value and different screens...
Would be nice if it works for the standby screen.
With a normal screen this is working, but with the standby screen no.

Is it possible to use columns with the standby screen ?