Multi-Line Label


(Sully) #1

Is it possible to have a line return / carriage return in a tile label?

Looking at my thermostat, I’d like to have:

70
Cool

on the value tile, instead of:

70 cool

What I have now causes the text to reduce in size to the point that it’s harder to read.

I can’t find any documentation about it, but I thought I’d ask.


(Barry) #2

def text = “70\nCool”

or
def text = “${temperature}\nCool”


(Kevin) #3

Old post… this doesn’t seem to work for me. Is there a new way to do this? Does it only work on certain tiles?