emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
20.61k stars 1.49k forks source link

Table columns should retain their width when reordering #4687

Open njust opened 6 days ago

njust commented 6 days ago

Is your feature request related to a problem? Please describe. As the width of the columns is currently cached by column index, the width of the column that was previously in the position is adopted when columns are rearranged.

Describe the solution you'd like With a unique id per column, the current width could be cached by column id, which would help to retain the column width when reordering.