[pve-devel] [PATCH installer 1/4] tui: do not center EULA text

Christoph Heiss c.heiss at proxmox.com
Tue Nov 21 11:45:48 CET 2023


Brings it in line with the GUI installer.

Reported-by: Fiona Ebner <f.ebner at proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
 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.42.0






More information about the pve-devel mailing list