From bc4978fd049c04c1a6dd83acadd52f66338bcc47 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 24 Nov 2017 12:51:56 +1300 Subject: [PATCH] stop scrollbar length bouncing around I think the urwid behaviour without this is a bug but well. ListBox is scary and this works so I'm happy for now. --- subiquity/ui/views/installprogress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/subiquity/ui/views/installprogress.py b/subiquity/ui/views/installprogress.py index 3a35b8b2..dda2600b 100644 --- a/subiquity/ui/views/installprogress.py +++ b/subiquity/ui/views/installprogress.py @@ -55,6 +55,7 @@ class ProgressView(BaseView): self.listwalker.append(Text(line)) if at_end: self.listbox.set_focus(len(self.listwalker) - 1) + self.listbox.set_focus_valign('bottom') def clear_log_tail(self): self.listwalker[:] = []