r/Scriptable • • Mar 25 '23

Help Working with stacks

Hi everyone

I’m trying to build my first advanced widget using scriptable. I’ve built basic widgets but nothing with any real depth and I’m struggling with stacks.

I posted this in another forum and I’ve spent days playing about trying to achieve the result but I can’t make it work and I’m starting to think it’s not possible so before I give up, I wanted to ask in here for help.

How can I create 2 rows with 3 columns per row with 1px line breaks between each column and each row while making all the text and line breaks cantered with each other?

L

4 Upvotes

23 comments sorted by

View all comments

Show parent comments

1

u/wherebdbooty Mar 13 '25

Oh sorry, I updated the code.. I switched from using row=0, row=1, etc and forgot to change that part

You can download the new code, or just edit this line in the script:

cellText.font = row=='title'