Skip to content

Commit

Permalink
unjustify
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Dec 21, 2023
1 parent d24b96c commit c769afb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/render.rs
Expand Up @@ -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| {
Expand Down

0 comments on commit c769afb

Please sign in to comment.