Skip to content

Add Table Column context menu item to reset to designed size. #9523

Open

Description

@lailoken

Version/Branch of Dear ImGui:

imgui branch: docking, version: 1.93.0 WIP (19292)

Back-ends:

(Multiple)

Compiler, OS:

(Multiple)

Full config/build information:

N/A

Details:

We already have the ability to reset tables columns to designed order and visibility, can we add the ability to reset to column widths as well? (if applicable/appropriate)

Screenshots/Video:

Image

Minimal, Complete and Verifiable Example code:

Activity

  1. ocornut commented on Aug 30, 2026

    @ocornut
    Owner

    Will work on this at some point. It's not as trivial as you'd imagine because there's a confusion with the "Size all columns to default" option that appears when ColumnsEnabledFixedCount != ColumnsEnabledCount which would then become misnamed.
    The equivalent size all path for Stretch columns is different than for Fixed columns and that needs some clearing up to find the right unambiguous wording for varying sizing policies combinations.

  2. flodrick commented on Nov 2, 2026

    @flodrick

    Hi, I’m interested in implementing this as a feature contribution. Could you confirm the preferred target branch (master or docking) and assign me if appropriate? I’ll account for the different Fixed/Stretch sizing behavior and share a demo or screenshot with the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions