commit 3fc73bb6013bb3e05d47864dfaff014051d6580d
parent b0881d4282207beac0a0c3a87caede2a17741001
Author: William Casarin <jb55@jb55.com>
Date: Mon, 1 Jul 2024 07:31:29 -0700
post: full available width
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ui/note/post.rs b/src/ui/note/post.rs
@@ -76,7 +76,8 @@ impl<'app, 'd> PostView<'app, 'd> {
}
let buffer = &mut self.draft_source.draft(&mut self.app.drafts).buffer;
- let response = ui.add(
+ let response = ui.add_sized(
+ ui.available_size(),
TextEdit::multiline(buffer)
.hint_text(egui::RichText::new("Write a banger note here...").weak())
.frame(false),