diff options
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 03219e062..a3642e5c3 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1037,7 +1037,7 @@ public: } size->width = max(size->width, d.width + padding.width); this->line_height = FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM; - size->height = GB(this->GetWidget<NWidgetCore>(widget)->widget_data, MAT_ROW_START, MAT_ROW_BITS) * this->line_height; + size->height = 5 * this->line_height; resize->height = this->line_height; break; } |