Hi all,
A small question that I couldn't figure out yet:
How can I scale the image of the button.moon ?
I found how to center it, but I also want to make it a bit bigger.
(I have set width to 4, to fit my currentweather. but the moon image could be a bit larger then.)
Any hint is appreciated.
Kind regards,
Bert
Moon image size
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 56
- Joined: Wednesday 06 December 2017 16:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- altonschaeffer
- Posts: 1
- Joined: Tuesday 29 December 2020 10:59
- Target OS: -
- Domoticz version:
- Location: Concord, NC 28025, USA
- Contact:
Re: Moon image size
Have you tried to do the same with length? Or play with a scale.
Order essay paper at TheSuperiorEssays
-
- Posts: 73
- Joined: Wednesday 13 February 2019 18:09
- Target OS: Windows
- Domoticz version: 2023.1
- Location: Netherlands
- Contact:
Re: Moon image size
I simply use this code:
blocks['moon'] = {
width: 5,
height: 5
}
This is what it looks like:
blocks['moon'] = {
width: 5,
height: 5
}
This is what it looks like:
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Moon image size
This indeed is a recent fix in the beta version.
Who is online
Users browsing this forum: No registered users and 1 guest