Skip to content

fix(gamespy): Grow the moderation message box to fit long reasons - #612

Merged
x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/moderation-dialog-clipping
Sep 25, 2026
Merged

x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/moderation-dialog-clipping

Conversation

@tintinhamans

Copy link
Copy Markdown

Long moderation reasons were cut off in the message box. The box now measures the wrapped text and,
if it doesn't fit, grows the text area and the panel and moves the OK/Cancel buttons down to match.
It stops growing at the bottom of the screen. Short messages look the same as before.

Adds GadgetStaticTextGetTextHeight to measure a static text control's wrapped height.

@x64-dev
x64-dev merged commit 5ffe11d into GeneralsOnlineDevelopmentTeam:main Sep 25, 2026
5 checks passed
@tintinhamans
tintinhamans deleted the arctic/go/fix/moderation-dialog-clipping branch September 25, 2026 23:22
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