notecrumbs

a nostr opengraph server build on nostrdb and egui
git clone git://jb55.com/notecrumbs
Log | Files | Refs | README | LICENSE

commit c769afb9fe85c4559cc43b7be5d0dbb5c0d62004
parent d24b96cada3ed98cd5420ab18b36eab9e0971c05
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 21 Dec 2023 12:11:18 -0800

unjustify

Diffstat:
Msrc/render.rs | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/render.rs b/src/render.rs @@ -397,10 +397,8 @@ fn note_ui(app: &Notecrumbs, ctx: &egui::Context, note: &NoteRenderData) { ui.vertical(|ui| { ui.set_max_size(Vec2::new(desired_width, desired_height / 2.2)); - ui.centered_and_justified(|ui| { - // only one widget is allowed in here - wrapped_body(ui, &note.note.content); - }); + // only one widget is allowed in here + wrapped_body(ui, &note.note.content); }); ui.horizontal(|ui| {