X Tutup
Skip to content

Make PopupMenu respect max_size#111801

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
scgm0:PopupMenu-no-longer-ignores-max_size
Oct 27, 2025
Merged

Make PopupMenu respect max_size#111801
Repiteo merged 1 commit intogodotengine:masterfrom
scgm0:PopupMenu-no-longer-ignores-max_size

Conversation

@scgm0
Copy link
Contributor

@scgm0 scgm0 commented Oct 18, 2025

Fix #111790
Meanwhile, if wrap_controls is set to false, PopupMenu will no longer reset min_size and size. Given that Popup defaults wrap_controls to true, this change should have minimal impact on existing projects. Users who manually set wrap_controls to false are expected to manage the size of PopupMenu themselves.

@scgm0 scgm0 requested a review from a team as a code owner October 18, 2025 19:23
@AThousandShips AThousandShips changed the title PopupMenu no longer ignores max_size Make PopupMenu respect max_size Oct 18, 2025
@AThousandShips AThousandShips added this to the 4.6 milestone Oct 20, 2025
@bruvzg bruvzg self-requested a review October 20, 2025 09:25
@scgm0 scgm0 force-pushed the PopupMenu-no-longer-ignores-max_size branch from 2b3025b to 4a98162 Compare October 27, 2025 10:11
@Repiteo Repiteo merged commit 1fbadf8 into godotengine:master Oct 27, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Oct 27, 2025

Thanks!

@Giganzo Giganzo mentioned this pull request Oct 30, 2025
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.

Potential PopupMenu bug/regression in Godot 4.5.x - property min_size gets overwritten

4 participants

X Tutup