table: Update last empty column to 20px width. (#511)

This commit is contained in:
Jason Lee 2024-12-23 19:36:58 +08:00 committed by GitHub
parent 11dbdb125a
commit d051ac6a8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ pub trait TableDelegate: Sized + 'static {
/// Render the last empty column, default to empty.
fn render_last_empty_col(&mut self, cx: &mut ViewContext<Table<Self>>) -> Div {
h_flex().w(px(100.)).h_full().flex_shrink_0()
h_flex().w_5().h_full().flex_shrink_0()
}
}