(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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user