Type your post area now 6 lines long (unfortunately not easily resizable)

This commit is contained in:
Mike Dilger 2023-01-18 12:37:14 +13:00
parent 40fee33863
commit d057ad67d1

View File

@ -187,6 +187,7 @@ fn real_posting_area(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram
// Text area // Text area
ui.add( ui.add(
TextEdit::multiline(&mut app.draft) TextEdit::multiline(&mut app.draft)
.desired_rows(6)
.hint_text("Type your message here") .hint_text("Type your message here")
.desired_width(f32::INFINITY) .desired_width(f32::INFINITY)
.lock_focus(true), .lock_focus(true),