Skip to content

Commit

Permalink
table: Update last empty column to 20px width. (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee authored Dec 23, 2024
1 parent 11dbdb1 commit d051ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ui/src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

Expand Down

0 comments on commit d051ac6

Please sign in to comment.