mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
fix UI window bug
This commit is contained in:
parent
cca5330483
commit
7cd74edb10
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class Window:
|
|||
# calculate x and y coordinates for the Tk root window
|
||||
x = (self.ws / 2) - 190
|
||||
y = (self.hs / 2) - 250
|
||||
self.win.geometry("430x370+{}+{}".format(x, y))
|
||||
self.win.geometry("430x400+{}+{}".format(x, y))
|
||||
# 布局
|
||||
self.set_layout()
|
||||
# 输入部分
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue