diff options
author | frosch <frosch@openttd.org> | 2013-06-30 14:33:15 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-30 14:33:15 +0000 |
commit | 5f8f71edf069a7298fa2b435ca9ee63a625d778f (patch) | |
tree | c53dde1e3afde5a7c5c85d88094f5a71a5d5ba12 /src/airport_gui.cpp | |
parent | 98fdd20f84c5d1dc64b8b07dca533fc41be4d8e3 (diff) | |
download | openttd-5f8f71edf069a7298fa2b435ca9ee63a625d778f.tar.xz |
(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets depend on their number of rows, since that changes when resizing the window.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 3a74b4c9a..0543e4282 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -284,7 +284,7 @@ public: } this->line_height = FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM; - size->height = this->vscroll->GetCapacity() * this->line_height; + size->height = 5 * this->line_height; break; } |