Villhellm/lovelace-clock-card

Feature request: Change size

ChrisRomp opened this issue · 1 comments

I'd like to be able to set the size of this, either by putting it in a constrained container (card) or explicitly setting its size in configuration.

Here it is today in a horizontal-stack:
image

 type: horizontal-stack
  cards:
    - type: custom:clock-card
      time_zone: "America/Los_Angeles"
    - type: custom:clock-card
      time_zone: "America/Los_Angeles"

Added a size option in the newest release. Unfortunately redrawing the canvas to accommodate card size is a bit of a challenge. I messed with it a bit and decided to just make the size static. Hopefully I'll be able to come back to it later, but for now you can define the size manually.

Thanks for the requests, keep 'em coming!