diff --git a/apps/openmw/mwgui/inventorywindow.cpp b/apps/openmw/mwgui/inventorywindow.cpp index c943611820..b735d89cf8 100644 --- a/apps/openmw/mwgui/inventorywindow.cpp +++ b/apps/openmw/mwgui/inventorywindow.cpp @@ -1032,10 +1032,11 @@ namespace MWGui if (MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_Inventory) { - // Fill the screen, or limit to a certain size on large screens. + // Fill the screen, or limit to a certain size on large screens. Size chosen to + // match the size of the stats window. MyGUI::IntSize viewSize = MyGUI::RenderManager::getInstance().getViewSize(); - int width = std::min(viewSize.width, 2200); - int height = std::min(viewSize.height - 48 - 48, 1200); + int width = std::min(viewSize.width, 1600); + int height = std::min(viewSize.height - 48 - 48, 750); int x = (viewSize.width - width) / 2; int y = (viewSize.height - height) / 2;