Qt: show full game titles in grid view#14092
Qt: show full game titles in grid view#14092samy-bennabi wants to merge 1 commit intoPCSX2:masterfrom
Conversation
Added UI element with new icon and a calculation of max text height.
There was a problem hiding this comment.
Thank you for submitting a contribution to PCSX2
As this is your first pull request, please be aware of the contributing guidelines.
Additionally, as per recent changes in GitHub Actions, your pull request will need to be approved by a maintainer before GitHub Actions can run against it. You can find more information about this change here.
Please be patient until this happens. In the meantime if you'd like to confirm the builds are passing, you have the option of opening a PR on your own fork, just make sure your fork's master branch is up to date!
|
I did not believe that this would ever come true. So now i have high hopes for my other requests regarding the UI. ^-^ |
|
Any updates on this? (Was wondering since the PR is drafted) |
On my side I haven't done much since. I tried to make the same changes in big picture mode with no success, any help is welcome as I'm new to Qt. |
Yes please mark it as ready for review so others can test it, we can leave FSUI for the future. |
|
would it be a good idea just all the time just show full game titles ? opinions? |
I fully agree |
|
|
||
| { | ||
| const int cover_width = static_cast<int>(static_cast<float>(SIZE_HINT_WIDTH) * m_cover_scale); | ||
| const int cover_height = static_cast<int>(static_cast<float>(SIZE_HINT_HEIGHT) * m_cover_scale); |
Then some people will want the old behaviour. Having the option I think is fine. |
|

Description of Changes
Added a toggle to show full game title by wrapping the text on multiple lines using
Qt::TextWordWrap.I added the new toggle wherever the show game titles toggle was, in the toolbar and under the View menu.
I used the price-tag-2-line icon from Remix Icon as it seemed most appropriate with its 2 lines.
Rationale behind Changes
Some games with longer benefit from having them fully visible, especially when multiple discs are present.
Toggle off:

Toggle on:

Armored Core - Nexus being a prime example here.
Fixes #8551
Suggested Testing Steps
I tested resizing the window, using different zoom levels, and toggling both show titles and show full titles.
Only tested on Linux (Fedora 43).
Did you use AI to help find, test, or implement this issue or feature?
Yes, was stuck getting the text height right because I didn't understand how Qt handles text well enough.
used claud code that suggested using:
I only implemented it after making sure it's good.