hello all, I'm a complete noob. I'm trying to add a centered logo in a sidebar so I'm using:
logo = new Layer parent: layerA height: 80 width: 80 x: Align.center y: Align.top
but I would like to add a margin from the top. I tried
y: Align.top + 10
but it doesn't seem to work, the documentation is not super helpful so I'm wondering where I should be looking for that.
Answering my own question: the function align takes an offset as a parameter so Align.center(20)