• Nick Lanam's avatar
    Fix scaling calculation when determining default column widths. · d56497f9
    Nick Lanam authored
    Summary: This applies both to the first render of a table, and double clicking on drag handles.
    
    Test Plan: Try any script with few columns, like `px/agent_status`. The columns should get a sensible layout on first render, not snap around on first resize, and double clicking a drag handle should reset the ratio between the columns on either side without affecting any other columns.
    
    Reviewers: #engineering, nserrino, michelle, vihang, philkuz
    
    Reviewed By: #engineering, philkuz
    
    JIRA Issues: PC-682
    
    Differential Revision: https://phab.corp.pixielabs.ai/D6804
    
    GitOrigin-RevId: 07bee1ea07b5f491cf01b3b79ddec45a89587756
    d56497f9