patch: Adjust to const-width table widget

This commit is contained in:
Erik Kundt
2024-04-29 11:55:09 +02:00
parent 3233031306
commit 222da206c9
+1 -1
View File
@@ -153,7 +153,7 @@ impl<'a: 'static> Widget for BrowsePage<'a> {
.focus(props.focus)
.to_boxed(),
)
.content(Box::<Table<State, Action, PatchItem>>::new(
.content(Box::<Table<State, Action, PatchItem, 9>>::new(
Table::new(state, action_tx.clone())
.on_event(|table, action_tx| {
TableState::from_boxed_any(table).and_then(|table| {