Closed ngsteven97 closed 4 months ago
Hmm, I think all we'd need to do is change this line: https://github.com/chrisys/train-departure-display/blob/d81c0d8ec11bb7e9e71db2c4e806f77072798520/src/main.py#L400
Instead of 'Plat 88' which was intended as the largest space this text could ever take up, we could change it to 'Plat 888'. If you want to test it and submit a PR that would be welcome!
My local train station is Reading which has half platforms depending on the size of the train - so for example for the trains to London Paddington from Reading, they could leave at Platform 11A or Platform 10A if it's a shorter train and doesn't need the whole platform. When showing trains from RDG -> PAD on my display, it cuts off the letter from the Platform number which is a minor inconvenience but looks weird. I was just wondering if there was anyway to pad out the text in the code so that there's an extra space between the platform and time, and if so which line of code needs to be edited.