Good day Framers. I can create a layer with an html property to create basically a text layer.
Easiest way to control size of text? Color? Font?
I thought this would work but it does not:
fromText = new Layer html:"First Last Name" color: "red" fontSize: 48
Thx in advance!
Color should work as a regular property, but all CSS is accepted via camel case or regular CSS property string syntax inside of the style object which is a property of the layer. So...
fromText = new Layer----html: "First Last Name"----color: "red"----style:--------fontSize: "48px"
I knew it was a simple thing, I probably tried everything but this! Thx.