i have 3 cams on my dashboard.
2 are 16.9 and 1 4.3
Now the 4.3 is a spare because the 3 cam 16.9 was broken.
now i have a scrollbar in my dash.
How can is set the height of a button to force the 4.3 to 16.9
i try
buttons.Garage = {width:12, isimage:true, forcerefresh:true, refresh:1000, image: 'http://ip/cgi-bin/xxxxxxxxxxxi', url: 'http://ip/cgi-bin/xxxxxxxxxxxxxxi',framewidth:550, frameheight:350}
but this is not working?
grts
buttons force custom height
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: buttons force custom height
You can set the height of a button with the forceheight parameter.
I will update the documentation for this
Sent from my SM-A320FL using Tapatalk
I will update the documentation for this
Sent from my SM-A320FL using Tapatalk
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: buttons force custom height
And image must be renamed to btnimage, at least for latest master and beta
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
-
- Posts: 230
- Joined: Saturday 21 July 2018 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Home@Belgium
- Contact:
Re: buttons force custom height
hey Lokonli
i'm on v 3.0.0 master
if i change image to btnimage then the cam is not loading.
if i change to image again everything is ok
i'm on v 3.0.0 master
if i change image to btnimage then the cam is not loading.
if i change to image again everything is ok
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: buttons force custom height
It was changed in release 3.2.0
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
-
- Posts: 230
- Joined: Saturday 21 July 2018 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Home@Belgium
- Contact:
Re: buttons force custom height
thx worked after i update the master branche
-
- Posts: 230
- Joined: Saturday 21 July 2018 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Home@Belgium
- Contact:
Re: buttons force custom height
just 1 question
when i click on the button i get a popup.
With width and height i can change the size of the modal.
But how can i change the size of the image.
If i hit the cam i want a image double the size so i can see clear what's on the frontdoor?
when i click on the button i get a popup.
With width and height i can change the size of the modal.
But how can i change the size of the image.
If i hit the cam i want a image double the size so i can see clear what's on the frontdoor?
Who is online
Users browsing this forum: No registered users and 1 guest