forked from nostr/notecrumbs
make sure the frame doesn't get smaller
This commit is contained in:
parent
8dbd11dba2
commit
e8241466bb
@ -396,7 +396,9 @@ fn note_ui(app: &Notecrumbs, ctx: &egui::Context, note: &NoteRenderData) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
ui.vertical(|ui| {
|
ui.vertical(|ui| {
|
||||||
ui.set_max_size(Vec2::new(desired_width, desired_height / 2.2));
|
let desired = Vec2::new(desired_width, desired_height / 2.2);
|
||||||
|
ui.set_max_size(desired);
|
||||||
|
ui.set_min_size(desired);
|
||||||
// only one widget is allowed in here
|
// only one widget is allowed in here
|
||||||
wrapped_body(ui, ¬e.note.content);
|
wrapped_body(ui, ¬e.note.content);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user