From 4aba22ae6bae64a51862458aaedc30880d4259db Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Mon, 23 Dec 2024 19:19:03 +0800 Subject: [PATCH] table: Update last empty column to 20px width. --- crates/ui/src/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/table.rs b/crates/ui/src/table.rs index cf215a45..d93ad760 100644 --- a/crates/ui/src/table.rs +++ b/crates/ui/src/table.rs @@ -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>) -> Div { - h_flex().w(px(100.)).h_full().flex_shrink_0() + h_flex().w_5().h_full().flex_shrink_0() } }