From c2a7b82a9f58511638883fedca21dad1e5bf4ab9 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 19 Oct 2010 21:48:20 +0000 Subject: (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_gui.cpp') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index c3d3d87fe..9b8e8f7ed 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -379,7 +379,7 @@ public: switch (widget) { case SLW_SORTBY: { Dimension d = GetStringBoundingBox(this->GetWidget(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; -- cgit v1.2.3-54-g00ecf