Center Align Text/Image within Stack

Hi,

I am working on a weather script that shows a 3-day forecast (building upon @grantavery script)

Is it possible to center align the content in each stack? (dailyWeatherStack - code here). Currently the content is left aligned and using spacers doesn’t center align each item with each other?

image

Maybe Simon’s original example around stacks here will help?

In it he has text above and below three images and everything aligned in one way or another.

e5e7c11504de39599a3c6516d114b339ac3c1214_2_690x369

Thanks, yes I checked those examples but all show text left aligned and not centered?

There’s a thread on Reddit about centering text in a stack.

This example from that thread centres the text.

https://pastebin.com/raw/TdZ5WfM9

Great that fixed it, thanks!