(svn r27577) -Fix [FS#6386]: Dock and roadstop picker, client list and town authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)

This commit is contained in:
frosch
2016-05-22 10:52:02 +00:00
parent 4fc43b510d
commit 8084f39bf3
4 changed files with 4 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ public:
y = y + WD_FRAMERECT_BOTTOM - nwid->pos_y; // Compute needed size of the widget.
if (y > nwid->current_y) {
/* If the company list is too big to fit, mark ourself dirty and draw again. */
ResizeWindow(this, 0, y - nwid->current_y);
ResizeWindow(this, 0, y - nwid->current_y, false);
}
}