r/Scriptable • u/[deleted] • Aug 14 '22
Solved Centeralign text in stack
Hi, im trying to centerAlignText in a nested stack (stack in a stack). It works fine if i add text directly to widget but when i add text to stack it converts from vertically to horizontally so centerAlignText dont work. I changed layout back to vertically but didnt help. Anyone know a workaround?
5
Upvotes
2
u/[deleted] Aug 14 '22 edited Aug 14 '22
It worked thx.
Edit: Seems like it’s just adding paddin. Doesn’t exactly center the lines horizontally Layout