Implement double-click column autosize for grids

Bug #1772416 reported by Jeff Young
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Wishlist

Bug Description

WxWidgets has this lovely disclaimer:

    // override to implement column auto sizing
    virtual bool UpdateColumnWidthToFit(unsigned int idx, int widthTitle)
    {
        // TODO: currently grid doesn't support computing the column best width
        // from its contents so we just use the best label width as is
        GetOwner()->SetColSize(idx, widthTitle);

        return true;
    }

... so it looks like we'll have to do it ourselves.

Jeff Young (jeyjey)
summary: - Implement double-click column autosize in GRID_TRICKS
+ Implement double-click column autosize for grids
Changed in kicad:
assignee: Jeff Young (jeyjey) → nobody
Jeff Young (jeyjey)
Changed in kicad:
importance: Low → Wishlist
Changed in kicad:
assignee: nobody → Ian McInerney (imcinerney)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2144

Changed in kicad:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.