SmartTiles Things\Tiles View


(Michael) #1


(Michael Stroh) #2

You can change the height and width of the tile, but the text will not change to adapt to the new shape. I’m sure there is probably a way to change the font size but offhand I don’t know what it is. If I have time this evening I might be able to play with it some.

.tile.thermostat {width: 240px; height: 120px;}

You can look through the SmartTiles theming thread. It is pretty long but you can try searching.

Edit: Forgot to post the code to change the size.


(Michael) #3

Thank you for the reply.


(Alex) #4

Try to add the following CSS snippet:

.tile.thermostatHeat  {
  height: 120px;
  width: 240px;
}

.tile.thermostatHeat .up {
  left: 25%;
  margin: 0;
  top: 0.75em;
}

.tile.thermostatHeat .down {
  left: -25%;
  margin: 0;
  top: 0.75em;
}

(Michael) #5

That worked. Thank you.


(Keith Croshaw) #6

Does that flip the arrows?


(Michael) #7

Yes

Needed 20 characters


(Keith Croshaw) #8

Cool beans!

20 chars.


(Keith Croshaw) #9

That was easy! I approve!


(Alex) #10

Why do you guys want to display the thermostat horizontally?


(Keith Croshaw) #11

It just fits with everything else I guess… Hard to say I didn’t like the vertical one because I did, but it did seem to break up the rows awkwardly.


(Michael) #12

Exactly what above said.