Enlarge crash error dialog for better readability

This commit is contained in:
2026-02-27 20:25:09 +02:00
parent 11c754a8c1
commit b4f2d1bf0c

View File

@@ -216,7 +216,10 @@ pub fn show_crash_dialog(
.body(&body)
.close_response("close")
.default_response("close")
.prefer_wide_layout(true)
.build();
dialog.set_content_width(700);
dialog.set_content_height(500);
// Build the full text that gets copied
let full_error = format!(
@@ -256,8 +259,9 @@ pub fn show_crash_dialog(
let scrolled = gtk::ScrolledWindow::builder()
.child(&text_view)
.min_content_height(120)
.max_content_height(300)
.min_content_height(250)
.max_content_height(500)
.vexpand(true)
.build();
vbox.append(&scrolled);