This commit is contained in:
N0\A
2025-10-21 16:01:51 +02:00
parent 80a8a9a5f6
commit 33c0f5e187
2 changed files with 14 additions and 3 deletions

6
.gitignore vendored
View File

@@ -1,6 +1,10 @@
__pycache__
#Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.pdb
*.pym
*.pyt
*.pyc.*
*.pyo.*

View File

@@ -61,7 +61,14 @@ def main():
app.setApplicationName("CLARA")
pet = MainWindow()
pet.move(200, 200)
# bottom right corner
screen_geometry = app.primaryScreen().availableGeometry()
pet_geometry = pet.frameGeometry()
x = screen_geometry.width() - pet_geometry.width()
y = screen_geometry.height() - pet_geometry.height()
pet.move(x, y)
pet.show()
sys.exit(app.exec())