Skip to content

[4.7][Project Manager] Fix Wrap Long Project Title - #122350

Open
CarrotOfPower wants to merge 1 commit into
godotengine:4.7from
CarrotOfPower:fix/wrap-long-project-title-4.7
Open

[4.7][Project Manager] Fix Wrap Long Project Title#122350
CarrotOfPower wants to merge 1 commit into
godotengine:4.7from
CarrotOfPower:fix/wrap-long-project-title-4.7

Conversation

@CarrotOfPower

@CarrotOfPower CarrotOfPower commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This is meant to be cherry-picked for 4.7.2.

It uses a value for title_size_cache, different to the PR for 4.8 Master, wich replaces the magic number through logic. This value does work in 4.7.x, but not in 4.8 Master.
That's ok, since the 4.7 PM layout won't be drastically changed in future.

What problem(s) does this PR solve?

  • This PR fixes all issues with wrapping project titles. For more info, see the two suspended PR.
  • Simplifies logic significantly while maintaining the same functionality, fixing issues with long project titles not wrapping correctly.
  • Should work on any scale.

#122075

wrap_long_project_title_empty_tag_container_bug.mp4

Difference to #122095

This is #122095:

I cherry-picked godotengine/godot#122095 for 4.7 and built it using SCons:

various-fixes-for-project-title-wrapping-applied-on-4.7.mp4

As you may notice ...

This PR:

4.7.fix-wrap-long-project-title-result-scale-2.2-demo.mp4

It ensures correct sizing and that the tags do resize at first, so the title can take mor space, which can be used more efficiently.
You don't see any errors in the terminal window.

Additional information

Validated by building the Windows editor with SCons and testing it, as well as testing the test artifact for Windows.

@CarrotOfPower
CarrotOfPower requested a review from a team as a code owner August 12, 2026 20:23
@CarrotOfPower

CarrotOfPower commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

I did it for 4.7 because

It uses a different value for title_size_cache than the PR for 4.8 Master. This value does work in 4.7.x, but not in 4.8 Master.

@AThousandShips AThousandShips changed the title [Project Manager] Fix Wrap Long Project Title for 4.7 [4.7][Project Manager] Fix Wrap Long Project Title Aug 12, 2026
@AThousandShips AThousandShips added this to the 4.7 milestone Aug 12, 2026
@CarrotOfPower
CarrotOfPower force-pushed the fix/wrap-long-project-title-4.7 branch 5 times, most recently from 0ad6456 to 8dd30dc Compare August 16, 2026 12:05
Fixes several issues where long project titles were
not wrapping correctly in the project list.

Co-authored-by: unit-tick <official.prince.john@gmail.com>
@CarrotOfPower
CarrotOfPower force-pushed the fix/wrap-long-project-title-4.7 branch 3 times, most recently from c2f696a to 622811f Compare August 16, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants