Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Fix PopupMenu's automatic max height #77691

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

rsubtil
Copy link
Contributor

@rsubtil rsubtil commented May 31, 2023

Fixes #76289.

PopupMenus now have an implicit maximum height set to the current window height, mimicking the current behavior on 4.0.

image

@rsubtil rsubtil requested a review from a team as a code owner May 31, 2023 10:00
@Calinou Calinou added bug regression topic:gui cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release labels May 31, 2023
@Calinou Calinou added this to the 3.6 milestone May 31, 2023
@kleonc kleonc linked an issue May 31, 2023 that may be closed by this pull request
@akien-mga akien-mga changed the title Fix PopupMenu's automatic max height [3.x] Fix PopupMenu's automatic max height Jun 7, 2023
@akien-mga akien-mga merged commit b15f7c1 into godotengine:3.x Jun 7, 2023
@akien-mga
Copy link
Member

Thanks!

@Poobslag
Copy link

Poobslag commented Oct 10, 2024

This regression seems to introduce clipping in my UI, and I'm not sure how to rectify it. Here is my PopupMenu in Godot 3.6:

373514650-12cb7c32-742a-4030-936e-27a639c2160d

Here is the same PopupMenu in Godot 3.5.3:

373740356-21c1aafe-68f2-4e6c-a7ba-92066c7dcd50

It looks like all the buttons have been shifted up within the popup menu, introducing whitespace at the bottom and clipping at the top.

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.

OptionButton does not allow middle mouse scrolling
4 participants