From 7752b2bd2d550577c41bc920db19b858ee4a074f Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Mon, 9 Jun 2025 00:03:32 -0400 Subject: [PATCH] Qt: Remove redundant nested layouts --- src/duckstation-qt/gamelistwidget.ui | 313 +++++++++++++-------------- 1 file changed, 148 insertions(+), 165 deletions(-) diff --git a/src/duckstation-qt/gamelistwidget.ui b/src/duckstation-qt/gamelistwidget.ui index a376ff31a..099eb5d8e 100644 --- a/src/duckstation-qt/gamelistwidget.ui +++ b/src/duckstation-qt/gamelistwidget.ui @@ -27,7 +27,10 @@ 0 - + + + 3 + 3 @@ -41,184 +44,164 @@ 3 - - - 3 + + + + 32 + 0 + - - - - - 32 - 0 - - - - Game List - - - - - - true - - - true - - - - - - - - 32 - 0 - - - - Game Grid - - - - - - true - - - true - - - - - - - - 32 - 0 - - - - Merge Multi-Disc Games - - - - - - true - - - true - - - - - - - - 32 - 0 - - - - Show Titles - - - - - - true - - - true - - - - - - - - 125 - 0 - - - - - 125 - 16777215 - - - - 10 - - - 200 - - - Qt::Orientation::Horizontal - - - - + + Game List + + + + + + true + + + true + + - - - Qt::Orientation::Horizontal + + + + 32 + 0 + + + + Game Grid - + + + + + true + + + true + + + + + + - 40 - 20 + 32 + 0 - + + Merge Multi-Disc Games + + + + + + true + + + true + + - - - 6 + + + + 32 + 0 + + + Show Titles + + + + + + true + + + true + + + + + + + + 125 + 0 + + + + + 125 + 16777215 + + + + 10 + + + 200 + + + Qt::Orientation::Horizontal + + + + + + + Qt::Orientation::Horizontal + + + + + - - - - All Types - - - - - - - - - - - - All Regions - - - - - - + + All Types + + + + + + + + - - - - 200 - 0 - - - - Search... - - - true - - + + All Regions + + + + - + + + + + + + 200 + 0 + + + + Search... + + + true + +