From d3692c753914652f41caf80c86a66deecb57e7b9 Mon Sep 17 00:00:00 2001 From: crueter Date: Sun, 22 Feb 2026 15:40:02 -0500 Subject: [PATCH] [desktop] Fix game list name column starting out super small by default Unsure why but geometry is at 100x30 when this func is called. For now just use sane ish default of 840 Signed-off-by: crueter --- src/yuzu/game/game_list.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/yuzu/game/game_list.cpp b/src/yuzu/game/game_list.cpp index 80995a0e79..c57198848f 100644 --- a/src/yuzu/game/game_list.cpp +++ b/src/yuzu/game/game_list.cpp @@ -1099,13 +1099,14 @@ void GameList::SaveInterfaceLayout() { void GameList::LoadInterfaceLayout() { auto* header = tree_view->header(); - if (header->restoreState(UISettings::values.gamelist_header_state)) { + if (header->restoreState(UISettings::values.gamelist_header_state)) return; - } // We are using the name column to display icons and titles // so make it as large as possible as default. - header->resizeSection(COLUMN_NAME, header->width()); + + // TODO(crueter): width() is not initialized yet, so use a sane default value + header->resizeSection(COLUMN_NAME, 840); } const QStringList GameList::supported_file_extensions = {