Skip to content

[orx-gui] add windowResizable argument to WindowedGUI - #384

Merged
edwinRNDR merged 1 commit into
masterfrom
resizableWindowedGui
Feb 18, 2026
Merged

[orx-gui] add windowResizable argument to WindowedGUI#384
edwinRNDR merged 1 commit into
masterfrom
resizableWindowedGui

Conversation

@hamoid

@hamoid hamoid commented Feb 11, 2026

Copy link
Copy Markdown
Member

This works well for vertical resizes of WindowedGUI, but less ideal when making the window wider, because the width of the GUI is only set when the window is created, not when the window is resized.

Simple solution

In Gui.kt set

this.width = 100.percent // instead of appearance.barWidth.px

for container and sidebar ONLY WHEN using WindowedGui.

Potentially better

Stretch all inputs to match the window width (with some right margin). That requires more effort.

@edwinRNDR
edwinRNDR merged commit 6a895e0 into master Feb 18, 2026
1 check passed
@hamoid
hamoid deleted the resizableWindowedGui branch March 24, 2026 14:05
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.

2 participants