Skip to content

Commit

Permalink
prevent window from resizing when we update the progress bar: allocat…
Browse files Browse the repository at this point in the history
…e space for the text

git-svn-id: https://xpra.org/svn/Xpra/trunk@26817 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 27, 2020
1 parent 927fe04 commit 5ac8662
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xpra/client/gtk3/splash_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5ac8662

Please sign in to comment.