diff options
author | planetmaker <planetmaker@openttd.org> | 2010-10-19 21:48:20 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2010-10-19 21:48:20 +0000 |
commit | c2a7b82a9f58511638883fedca21dad1e5bf4ab9 (patch) | |
tree | 06a38b71e21fb1d3dce1322cf15f39c25d1f6fe8 /src/bridge_gui.cpp | |
parent | 9373ee71d999a08c51938f6214fc0360c477992a (diff) | |
download | openttd-c2a7b82a9f58511638883fedca21dad1e5bf4ab9.tar.xz |
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r-- | src/bridge_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index 303979754..e6d20f7a9 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -169,7 +169,7 @@ public: switch (widget) { case BBSW_DROPDOWN_ORDER: { Dimension d = GetStringBoundingBox(this->GetWidget<NWidgetCore>(widget)->widget_data); - d.width += padding.width + WD_SORTBUTTON_ARROW_WIDTH * 2; // Doubled since the word is centered, also looks nice. + d.width += padding.width + WD_SORTBUTTON_ARROW_WIDTH * 2; // Doubled since the string is centred and it also looks better. d.height += padding.height; *size = maxdim(*size, d); break; |