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

"Map size" drop-down list too narrow for original_windows base font #5562

Closed
DorpsGek opened this issue May 28, 2013 · 2 comments
Closed

"Map size" drop-down list too narrow for original_windows base font #5562

DorpsGek opened this issue May 28, 2013 · 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

kvee opened the ticket and wrote:

When using the original_windows base GFX and starting a new game, the "Map size" drop-down list is too narrow when inactive, unnecessarily making the "2048" option look like "20..".

tested with latest stable (1.3.0), testing (1.3.1-RC1) and nightly (r25298)

Attachments

Reported version: trunk
Operating system: All


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

DorpsGek commented Jun 1, 2013

frosch wrote:

Seems to be this:

Index: src/genworld_gui.cpp

--- src/genworld_gui.cpp (revision 25312)
+++ src/genworld_gui.cpp (working copy)
@@ -451,6 +451,8 @@
case WID_GL_MAPSIZE_Y_PULLDOWN:
SetDParamMaxValue(0, MAX_MAP_SIZE);
*size = GetStringBoundingBox(STR_JUST_INT);
+ size->width += padding.width;
+ size->height += padding.height;
break;

  	case WID_GL_SNOW_LEVEL_TEXT:

I guess there are more widget affected.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5562#comment12258

@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 1, 2013

frosch closed the ticket.

Reason for closing: Fixed

in r25314 and 25313


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

@DorpsGek DorpsGek closed this as completed Jun 1, 2013
@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