diff options
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 5978d2bbe..1cd7c3193 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -784,7 +784,7 @@ public: case TDW_SORTNAME: case TDW_SORTPOPULATION: { 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; |