From 4d77586296eab627f7239420fc392f5f9d12007b Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 21 Nov 2023 11:45:48 +0100 Subject: [PATCH 1/1] tui: do not center EULA text Brings it in line with the GUI installer. Reported-by: Fiona Ebner Signed-off-by: Christoph Heiss --- proxmox-tui-installer/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox-tui-installer/src/main.rs b/proxmox-tui-installer/src/main.rs index 4b6b5b2..15340e1 100644 --- a/proxmox-tui-installer/src/main.rs +++ b/proxmox-tui-installer/src/main.rs @@ -355,9 +355,9 @@ fn license_dialog(siv: &mut Cursive) -> InstallerView { 0, TextView::new("END USER LICENSE AGREEMENT (EULA)").center(), )) - .child(Panel::new(ScrollView::new( - TextView::new(get_eula(&state.setup_info)).center(), - ))) + .child(Panel::new(ScrollView::new(TextView::new(get_eula( + &state.setup_info, + ))))) .child(PaddedView::lrtb(1, 1, 1, 0, bbar)); let _ = inner.set_focus_index(2); // ignore errors -- 2.39.2