From 00330ca3914a4cf0f760d8123a9d2488ae4e2ed2 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Fri, 13 Jun 2025 18:10:03 -0400 Subject: [PATCH] Qt: Avoid truncating Serial column in game list view on macOS --- src/duckstation-qt/gamelistwidget.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/duckstation-qt/gamelistwidget.cpp b/src/duckstation-qt/gamelistwidget.cpp index f5a94e9be..723ce5480 100644 --- a/src/duckstation-qt/gamelistwidget.cpp +++ b/src/duckstation-qt/gamelistwidget.cpp @@ -1614,7 +1614,11 @@ void GameListListView::resizeColumnsToFit() { QtUtils::ResizeColumnsForTableView(this, { 45, // type - 80, // code +#ifdef __APPLE__ + 95, // serial +#else + 80, // serial +#endif -1, // title -1, // file title 200, // developer @@ -1641,7 +1645,7 @@ void GameListListView::loadColumnVisibilitySettings() { static constexpr std::array DEFAULT_VISIBILITY = {{ true, // type - true, // code + true, // serial true, // title false, // file title false, // developer