Skip to content

Fix settings window overflow at larger text/accessibility scaling - #115

Open
wi-ry wants to merge 2 commits into
SamsidParty:mainfrom
wi-ry:main
Open

Fix settings window overflow at larger text/accessibility scaling#115
wi-ry wants to merge 2 commits into
SamsidParty:mainfrom
wi-ry:main

Conversation

@wi-ry

@wi-ry wi-ry commented Jul 22, 2026

Copy link
Copy Markdown

Problem

Users with Windows accessibility text scaling set above 100% (e.g. 150%)
found the settings window content overflowed the fixed window bounds,
with no way to resize the window or scroll to reach clipped controls.

Changes

  • Resizable window: Replaced LockedWindowBounds with a standard
    WindowBounds, keeping the original initial size but allowing the
    window to grow and setting a sensible minimum size.
  • Scrollable content: Split the settings UI so the header
    (drag region + close button) stays fixed while the settings content
    below it scrolls independently, instead of the whole window scrolling
    together.
  • Scrollbar visibility fix: A global *::-webkit-scrollbar-thumb
    rule (border: 4px solid transparent + background-clip: content-box)
    was silently collapsing the new scrollbar to 0px width. Added a
    scoped override for .scrollableContent so the thumb renders
    correctly, with padding tuned for consistent spacing on both sides.
  • Responsive preview: The notification position preview
    (Preview.jsx) used a hardcoded 352px width, which caused it to
    misalign with the rest of the settings once the window became
    resizable. It now measures its container via ResizeObserver and
    scales responsively instead.
  • .gitignore: Added iv2runtime/ (IgniteView's generated runtime
    output), which shouldn't be tracked.

Testing

  • Verified at 100%, 125%, 150%, and 200% Windows text scaling — window
    content no longer clips, scrollbar appears only when needed.
  • Verified resizing the window doesn't break the preview image's aspect
    ratio or alignment with other settings rows.
  • Verified header and close button remain fixed while scrolling.

Screenshots

At 100% font size:
image

At 150% font size:
image

At 225% font size:
image

Fixes #114

wi-ry added 2 commits July 21, 2026 17:01
- Replace LockedWindowBounds with resizable WindowBounds + min size
  so the settings window can grow to fit larger text/accessibility
  scaling instead of clipping content
- Split header/close button out of the scrollable region so they
  stay fixed while settings content scrolls independently
- Add custom scrollbar styling scoped to .scrollableContent,
  overriding the global thumb rule which was collapsing the
  scrollbar to 0 width
- Fix Preview component using a hardcoded 352px width, causing
  inconsistent right-side spacing; now measures container width
  via ResizeObserver so it scales with the rest of the layout
- Tune body/scrollableContent padding for consistent spacing
  around the scrollbar
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.

support larger text size (accessibility) is needed

1 participant