From f364748005c8509c7426e1d1311d177c076d0dae Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 21 Mar 2024 15:54:08 +0100 Subject: [PATCH] ui: reduce vertical padding for more compact timelines --- src/app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 30b38ffb..b1bf9a61 100644 --- a/src/app.rs +++ b/src/app.rs @@ -739,7 +739,7 @@ fn render_notes(ui: &mut egui::Ui, damus: &mut Damus, timeline: usize, test_pane test_panel_id, ); - ui.separator(); + ui.add(egui::Separator::default().spacing(0.0)); } } @@ -760,6 +760,7 @@ fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize, test_panel }); */ .show(ui, |ui| { + ui.spacing_mut().item_spacing.y = 0.0; render_notes(ui, app, timeline, test_panel_id); }); }