-
I have the card (which is great, thanks for the work on it!) showing on a raspberry pi touchscreen, so the dimensions are 800 x 480. I'm using the lite/compact card and it is 500x400, so I can have either only part of flowcard height showing, but filling the width, or all the height showing but lots of blank space at the edges. I'd like to alter the svg template to use all the available space on the screen (in my own fork is fine). So this might be a silly question, but is there a way to edit the layout in an svg editor with GUI (e.g. inkscape), or does it all need doing manually in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You will need to edit the index.ts file . Specifically the lines below sunsynk-power-flow-card/src/index.ts Lines 3089 to 3092 in 845a639 I would start by adjusting the preserveAspectRatio and set it to none. You can then manually set the height and width attributes. |
Beta Was this translation helpful? Give feedback.
You will need to edit the index.ts file . Specifically the lines below
sunsynk-power-flow-card/src/index.ts
Lines 3089 to 3092 in 845a639