notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit f364748005c8509c7426e1d1311d177c076d0dae
parent 81162a3d6e93db77e0fa3bedf38c13d526de5198
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 21 Mar 2024 15:54:08 +0100

ui: reduce vertical padding for more compact timelines

Diffstat:
Msrc/app.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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); }); }