RelinkDialog: the missing-clips table shows its four columns across the dialog

The table was sized from its content with only fill columns, so it took
its least width and cut every header. It takes the collection default
(Fill): under the dialog's content-sized body it measures from its content,
never sets the dialog's width and shows across it, its columns sharing that
width; its height stays its rows'. The rows take the collection's cell rects
(`cells`), so File Name, File Path and Status show in their columns.
This commit is contained in:
aiongg
2026-11-12 14:32:47 +00:00
parent 9b22aa4e0f
commit 83622a18e4
+1 -1
View File
@@ -862,10 +862,10 @@ impl<K: Clone + PartialEq + Send + Sync + 'static> Model<K> {
.select(SelectMode::Single)
.selection(Bind::bound(&mut selection))
.sort(self.layout.sort.clone())
.sizing(Sizing::Content)
.show_items(ui, &source, &mut |&row, icx| {
let data = &rows[row];
ListRow::new(data.owner.clone())
.cells(icx.cells())
.columns(&columns)
.striped(icx.at % 2 == 1)
.cell(FILE_NAME, file_name(&data.link.stored).to_owned())