tobyxdd / tidbyt-compact-stocks

Stock ticker app for Tidbyt that shows the current prices & daily changes for 5 stocks of your choice
MIT License
0 stars 0 forks source link

Column Alignment #1

Open jhkillam opened 1 day ago

jhkillam commented 1 day ago

I love this app but the column alignment has been bugging me when there are a combination of 3 or 4 letter symbols which changes the alignment of the other values from row to row. I made some changes to fix this if you want to take a look. A brief overview:

I've never contributed to someone else's project before, it wouldn't let me push a branch for you to see and I can't attach .star files here, so here is a txt copy.

https://github.com/user-attachments/files/17580032/stocks-aligned.txt

image
tobyxdd commented 1 day ago

Thank you Joseph 🙂 I wanted to fix the alignment too but didn't get around to it. I can confirm that your code works and I really like how every row is aligned to the decimal point of the price.

This app has already been committed to the official Tidbyt app repo so updates will be done there. I have created the PR for it:

https://github.com/tidbyt/community/pull/2847