mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix bad margins in progress dialog
This commit is contained in:
parent
b84d3b53af
commit
b9aa3a3083
1 changed files with 1 additions and 1 deletions
|
@ -112,6 +112,7 @@ class ProgressManager:
|
|||
self._win = self.ProgressDialog(parent)
|
||||
self._win.form.progressBar.setMinimum(min)
|
||||
self._win.form.progressBar.setMaximum(max)
|
||||
self._win.form.progressBar.setTextVisible(False)
|
||||
self._win.form.label.setText(label)
|
||||
self._win.setWindowTitle("Anki")
|
||||
self._win.setWindowModality(Qt.ApplicationModal)
|
||||
|
@ -173,7 +174,6 @@ class ProgressManager:
|
|||
def _showWin(self):
|
||||
self._shown = time.time()
|
||||
self._win.show()
|
||||
self._win.adjustSize()
|
||||
self._setBusy()
|
||||
|
||||
def _closeWin(self):
|
||||
|
|
Loading…
Reference in a new issue