revert window centering

This commit is contained in:
cidoku 2025-02-17 21:11:50 -03:00
parent eb57bea8b0
commit aff375113b
3 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
self.gamewindow.setFixedSize(820, 730)
self.gamewindow.center()
self.ooclog.setGeometry(814 - 288, 0, 288, 248)
self.oocnameinput.resize(self.oocnameinput.sizeHint().width() - 32, self.oocnameinput.sizeHint().height())

View File

@ -1346,7 +1346,6 @@ class gui(QtGui.QWidget):
def onPVPacket(self, charname):
exec open(AO2XPpath+"ao2xp_themes/"+get_option("General", "theme", "default")+"/theme.py")
self.gamewindow.center()
if not self.swapping:
self.loadCharacter(charname)

View File

@ -349,7 +349,6 @@ class lobby(QtGui.QWidget):
def move_to_game(self, tcp, playerlist, charlist, musiclist, background, evidence, areas, features=[], oocjoin=[], hplist=[], webAO_bucket=""):
self.gamewindow.showGame(tcp, playerlist, charlist, musiclist, background, evidence, areas, features, oocjoin, hplist, webAO_bucket)
self.gamewindow.center()
def lobby_sendchat(self):
#text = self.lobbychatinput.text().toUtf8()