(svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view.

pull/155/head
alberth 15 years ago
parent 948512883b
commit 94f1f51943

@ -1110,7 +1110,7 @@ struct StationViewWindow : public Window {
nwi->SetDataTip(STR_STATION_VIEW_RATINGS_BUTTON, STR_STATION_VIEW_RATINGS_TOOLTIP); // Switch to ratings view.
height_change = ALH_ACCEPTS - ALH_RATING;
}
this->ReInit(0, height_change);
this->ReInit(0, height_change * FONT_HEIGHT_NORMAL);
break;
}

Loading…
Cancel
Save