]> git.proxmox.com Git - pve-installer.git/commitdiff
tui: do not center EULA text
authorChristoph Heiss <c.heiss@proxmox.com>
Tue, 21 Nov 2023 10:45:48 +0000 (11:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 12:11:50 +0000 (13:11 +0100)
Brings it in line with the GUI installer.

Reported-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/main.rs

index 4b6b5b24e75e34bb9d7240effd1939afb5b4174e..15340e11246ce0b78e277ff19ee97895bff28014 100644 (file)
@@ -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