Skip to content

fix(Install Dialogs): rename custom_maximum_size, now a native Control property - #560

Merged
ShadowApex merged 1 commit into
ShadowBlip:mainfrom
loki666:fix/custom-maximum-size
Oct 4, 2026
Merged

ShadowApex merged 1 commit into
ShadowBlip:mainfrom
loki666:fix/custom-maximum-size

Conversation

@loki666

@loki666 loki666 commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #540.

Problem

Godot 4.7 added a native Control.custom_maximum_size. The exported custom_maximum_size in install_location_dialog.gd and install_options_dialog.gd now fails to parse (Member "custom_maximum_size" redefined (original in native class 'Control')). That breaks the game launch menu, which uses these dialogs.

Changes

The variable is renamed to scroll_maximum_size, because it caps the dialog's scroll container. The rename covers both scripts and the .tscn values. Behaviour is unchanged.

Testing

Tested on v0.46.1 with this patch, exported with Godot 4.7.1 (arm64). The parse errors are gone at startup.

…l property

Godot 4.7 added a native Control.custom_maximum_size, so the exported
variable of the same name in install_location_dialog.gd and
install_options_dialog.gd fails to parse ("Member redefined"), and the
game launch menu that uses these dialogs breaks.

Rename it to scroll_maximum_size (it caps the scroll container) in both
scripts and their scenes.

Fixes ShadowBlip#540

@ShadowApex ShadowApex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ShadowApex
ShadowApex merged commit 961c137 into ShadowBlip:main Oct 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.46.0: custom_maximum_size collides with Godot 4.7's native Control property, breaking the game launch menu

3 participants