Skip to content

GUI: a scrollbar appears on both the child content and the main window (needs repro/screenshot) #103

Description

@rezdm

Observation

User feedback: an "annoying" scrollbar is present for both a child window/pane and the main window simultaneously.

Plausible mechanism

A classic ImGui nested-scroll-region issue: if a `BeginChild`'s content is a few pixels taller than its allotted frame (e.g. due to padding/border reservation for its own scrollbar), the outer window can also decide it needs to scroll, producing two visible scrollbars for what's conceptually one overflow.

Status

Not yet confirmed which window/pane — needs a screenshot/repro before scoping a fix (likely a sizing/padding adjustment in the affected `BeginChild` call, or explicitly disabling the outer scrollbar with `ImGuiWindowFlags_NoScrollbar` once the true source of overflow is found).

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDesign question or feature request needing scoping before it becomes code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions