Skip to content

Add monospace font setting for textboxes in debug GUI#1322

Open
Lyrth wants to merge 4 commits into
UE4SS-RE:mainfrom
Lyrth:feature-mono_font_textboxes
Open

Add monospace font setting for textboxes in debug GUI#1322
Lyrth wants to merge 4 commits into
UE4SS-RE:mainfrom
Lyrth:feature-mono_font_textboxes

Conversation

@Lyrth

@Lyrth Lyrth commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Add a setting to make the font in some textboxes in the debugging GUI monospaced: GuiConsoleMonospaceTextEditors = 1; applied specifically to GUI console log, Watchers logs, Lua debugger text editors (Debug, Script Editor tabs) and REPL tab input and history.

(also arranged the fonts around a bit.)

Type of change

  • New feature (non-breaking change which adds functionality)

How has this been tested?

GuiConsoleMonospaceTextEditors disabled: no change in behavior. Check screenshots below for when it's enabled.
Tested only on Linux but should behave the exact same on Windows.

Checklist

  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • I have added the necessary description of this PR to the changelog, and I have followed the same format as other entries.
  • Any dependent changes have been merged and published in downstream modules.

Screenshots

GuiConsoleMonospaceTextEditors enabled screenshots: image image image image image

Additional context

Also thought about making a separate setting to make it apply to the entire debug GUI, but I imagine it to be more tedious since there may be some alignment changes that need to be done in a lot of places, so this only covers the tall textboxes.

Default setting is disabled since it can technically be breaking, for mods that rely on non-monospaced text alignment in the console. But if that doesn't matter much we could have it enabled by default I guess.

Comment thread UE4SS/src/SettingsManager.cpp Outdated
…fonts, minor fix for DebugGUIUseMonospace setting (REGISTER_FLOAT_SETTING -> REGISTER_BOOL_SETTING)
@Lyrth
Lyrth force-pushed the feature-mono_font_textboxes branch from f658faa to 8bf70be Compare July 2, 2026 13:16
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