sabodden
Member
- Joined
- Sep 27, 2019
- Messages
- 138
- Reaction score
- 18
I have this UI:
but when i show it
it always comes on top left
how to make it always spawn in the middle of screen? on the center...
Code:
MiniWindow
id: mainWindow
width: 625
height: 160
top: 100
bottom: 100
left: 100
right: 100
@onClose: modules.game_minimap.onMiniWindowClose()
but when i show it
it always comes on top left
how to make it always spawn in the middle of screen? on the center...