mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
Fix EmailPassDialog
This commit is contained in:
parent
f613fea791
commit
56da4a2850
1 changed files with 2 additions and 6 deletions
|
|
@ -1604,15 +1604,11 @@ class EmailPassDialog(QDialog):
|
|||
|
||||
self.ok_button = QPushButton(_('OK'), self)
|
||||
self.ok_button.clicked.connect(self.ok)
|
||||
horz.addWidget(self.ok_button,2,0)
|
||||
horz.addWidget(self.ok_button)
|
||||
|
||||
self.cancel_button = QPushButton(_('Cancel'), self)
|
||||
self.cancel_button.clicked.connect(self.cancel)
|
||||
horz.addWidget(self.cancel_button,2,1)
|
||||
|
||||
# set stretch factors the same.
|
||||
self.l.setColumnStretch(0,1)
|
||||
self.l.setColumnStretch(1,1)
|
||||
horz.addWidget(self.cancel_button)
|
||||
|
||||
self.resize(self.sizeHint())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue