Monospaced and right justified numbers?
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 55
- Joined: 14 Jan 2024 01:32
Monospaced and right justified numbers?
Any chance anyone would have at making numbers in tables monospaced and right justified?
Game keeps updating them in real time and they keep jumping left and right which is extremely ugly. Not even mentioning they are not right aligned in tables which make visual comparison a pain.
Thank you.
Game keeps updating them in real time and they keep jumping left and right which is extremely ugly. Not even mentioning they are not right aligned in tables which make visual comparison a pain.
Thank you.
Re: Monospaced and right justified numbers?
Which tables are you referring to?
-
- Engineer
- Posts: 55
- Joined: 14 Jan 2024 01:32
Re: Monospaced and right justified numbers?
All and any tables where it makes sense with numeric values arranged top down.
These are two, for example:
- company budget
- list of vehicles with their current and last year incomes
These are two, for example:
- company budget
- list of vehicles with their current and last year incomes
Re: Monospaced and right justified numbers?
This is determined by the font you are using—some have variable width digits, some have fixed width digits. (And some have both as a variant, but we don't support that.)
The new OpenTTD Sans font matches the style of the original sprite font, but other typefaces exist.
The new OpenTTD Sans font matches the style of the original sprite font, but other typefaces exist.
He's like, some kind of OpenTTD developer.
-
- Engineer
- Posts: 55
- Joined: 14 Jan 2024 01:32
Re: Monospaced and right justified numbers?
Never mind then. I think it would be too much work just for cosmetic change. The game is playable without it.
Re: Monospaced and right justified numbers?
variable sized digits may provide better reading flow in general text.
Re: Monospaced and right justified numbers?
I've updated OpenTTD Sans to have tabular numerals - it'll be in 14.0.
Re: Monospaced and right justified numbers?
Hello
Tschö, Auge
That's really great. Thank you.
Tschö, Auge
Who is online
Users browsing this forum: No registered users and 5 guests