Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text alginment in shipyard #3383

Closed
DorpsGek opened this issue Dec 18, 2009 · 2 comments
Closed

Text alginment in shipyard #3383

DorpsGek opened this issue Dec 18, 2009 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

planetmaker opened the ticket and wrote:

The alignment of the vehicle names with the longest sprite doesn't work satisfactorily for the shipyard with the default ships (OpenGFX) as shown in the attached screenshot. Probably only the length of the first ship sprite is considered when calculating the text position.

When using a newgrf, the calculation works for the whole newgrf, though it gets a separate text offset. I'm not sure whether that's desired and I'm not even sure whether I would want that changed. Having a separate offset for different sets might be even nicer as it could help to distinguish them.

tested with r18527

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3383
@DorpsGek
Copy link
Member Author

Rubidium wrote:

No GRF gets an offset. All GRFs that seem to have an offset are using SETX.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3383#comment7072

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Won't fix

Fixing this sadly enough breaks NewGRFs; I've tried when I changed the code.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3383

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant