nervetattoo / simple-thermostat

A different take on the thermostat card for Home Assistant ♨️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Formatting and alignment

antarxis opened this issue · comments

Hello,

thanks for the card, nice work!

However having placed two sensors one over another there are some visual inconsistencies for the text strings (1) or buttons with the same text labels (2). In case of just 2 buttons they are not of the same width (3). The issue (1) results also in a shift of temperature setting (not marked on the image, but visible). Most likely it comes from centring the whole view, but maybe customizable grid for fields/areas like sensors, temperature setting and buttons would work better? It could be adjustable in options then...

thermo

Would it be possible to get the things aligned or adjustable as formatting options?

Probably the latter would be more flexible for many users and their cases, like:

  • sensors field width (and height?)
  • sensors field margin/indent
  • buttons width
  • buttons margin
  • buttons equal alignment (useful for 2, 3... buttons)

Many thanks in advance!