mirror of
https://github.com/damus-io/notecrumbs.git
synced 2024-09-20 21:56:33 +00:00
unjustify
This commit is contained in:
parent
d24b96cada
commit
c769afb9fe
@ -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, ¬e.note.content);
|
||||
});
|
||||
// only one widget is allowed in here
|
||||
wrapped_body(ui, ¬e.note.content);
|
||||
});
|
||||
|
||||
ui.horizontal(|ui| {
|
||||
|
Loading…
Reference in New Issue
Block a user