Skip to content

Fix #1021: make FXGLDefaultMenu layout responsive by binding to prefW…#1474

Open
fk268 wants to merge 1 commit into
AlmasB:devfrom
fk268:fix/responsive-menu-layout
Open

Fix #1021: make FXGLDefaultMenu layout responsive by binding to prefW…#1474
fk268 wants to merge 1 commit into
AlmasB:devfrom
fk268:fix/responsive-menu-layout

Conversation

@fk268
Copy link
Copy Markdown

@fk268 fk268 commented May 10, 2026

Issue: FXGLDefaultMenu uses hardcoded width/height values which don't update when the window is resized.
Fix: Replaced static translateX/Y assignments with property bindings using getSettings().prefWidthProperty() and getSettings().prefHeightProperty(), so the menu repositions correctly when manual resize is enabled.
Closes #1021

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.

FXGLDefaultMenu layout is not responsive

1 participant