From 5ac86620ac3aa041f83120d9453f3d798916bfb7 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 27 Jun 2020 09:17:08 +0000 Subject: [PATCH] prevent window from resizing when we update the progress bar: allocate space for the text git-svn-id: https://xpra.org/svn/Xpra/trunk@26817 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/gtk3/splash_screen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xpra/client/gtk3/splash_screen.py b/src/xpra/client/gtk3/splash_screen.py index 77dc2db22c..4df368c4f7 100644 --- a/src/xpra/client/gtk3/splash_screen.py +++ b/src/xpra/client/gtk3/splash_screen.py @@ -42,6 +42,9 @@ def __init__(self): vbox.add(hbox) self.progress_bar = Gtk.ProgressBar() self.progress_bar.set_size_request(320, 30) + self.progress_bar.set_text(" ") + self.progress_bar.set_show_text(True) + self.progress_bar.set_fraction(0) self.progress_timer = 0 vbox.add(self.progress_bar) self.add(vbox)