Moon image size

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
brjhaverkamp
Posts: 56
Joined: Wednesday 06 December 2017 16:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Moon image size

Post by brjhaverkamp »

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
User avatar
altonschaeffer
Posts: 1
Joined: Tuesday 29 December 2020 10:59
Target OS: -
Domoticz version:
Location: Concord, NC 28025, USA
Contact:

Re: Moon image size

Post by altonschaeffer »

Have you tried to do the same with length? Or play with a scale.
Order essay paper at TheSuperiorEssays
stephanvdplas
Posts: 73
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Moon image size

Post by stephanvdplas »

I simply use this code:

blocks['moon'] = {
width: 5,
height: 5
}

This is what it looks like:
Image
- 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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Moon image size

Post by Lokonli »

This indeed is a recent fix in the beta version.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests