Siz UltraWide CenteredUI

Keeps your whole UI in a centered 16:9 area on ultrawide monitors, while the game world still fills the screen.
Back to Files

1.0.1

File nameCenteredUI-1.0.1.zip
Uploader
SizzanSizzan
Uploaded
Nov 15, 2026
Downloads
48
Size
4.3 KB
Flavors
Forever
File ID
9628429
Type
R
Release
Supported game versions
  • 1.60.1

What's new

lightweight tag 59efcc3fbcc58c849ffa493c3652d6408e409158 1.0.1
Author:    coldensjo <coldensjo@gmail.com>
Date:    Sun Nov 15 13:32:18 2026 +0100

commit 59efcc3fbcc58c849ffa493c3652d6408e409158
Author: coldensjo <coldensjo@gmail.com>
Date:   Sun Nov 15 13:32:18 2026 +0100

    Keep the UI centered after loading screens

    The client re-anchors UIParent to the screen's left edge on every loading
    screen (zoning into instances, boats, portals), and 1.0.0 never reacted, so
    the UI stayed on the left until /reload.

    - Hook UIParent SetPoint/SetAllPoints/OnSizeChanged and re-center on change
    - Handle PLAYER_ENTERING_WORLD and the loading screen events, applying once
      the loading screen drops and checking again a second later
    - Derive screen width from GetPhysicalScreenSize, since WorldFrame can report
      the shrunken width around loading screens and collapse the offset to 0
    - Skip re-anchoring when the geometry is already correct, and pause if a
      resize loop is detected
    - Clip the collapsed party/raid manager to the centered area
    - Save a rolling trace for diagnosing issues; /cui debug shows screen size

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

commit 37d7840bbdea3d28acd57d6097dbc27bc4032670
Author: coldensjo <coldensjo@gmail.com>
Date:   Thu Sep 24 22:00:57 2026 +0200

    Add .gitignore and initial README.md for Centered UI

This mod has no related projects