summaryrefslogtreecommitdiff
path: root/src/object_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r--src/object_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp
index d32075aab..b27388313 100644
--- a/src/object_gui.cpp
+++ b/src/object_gui.cpp
@@ -153,7 +153,7 @@ public:
size->width += padding.width;
this->line_height = FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM;
resize->height = this->line_height;
- size->height = this->vscroll->GetCapacity() * this->line_height;
+ size->height = 5 * this->line_height;
break;
}