Implement double-click column autosize for grids

Bug #1772416 reported by Jeff Young on 2018-05-21
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Wishlist
Unassigned

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) on 2018-05-21
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) on 2018-09-15
Changed in kicad:
importance: Low → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers