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
2d9781e89b
commit
fd49be2f0f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class Window:
|
|||
# 计算 Tk 根窗口的 x 和 y 坐标
|
||||
x = (self.ws / 2) - 190
|
||||
y = (self.hs / 2) - 250
|
||||
self.win.geometry("430x370+{}+{}".format(x, y))
|
||||
self.win.geometry("430x400+{}+{}".format(x, y))
|
||||
# layout,布局
|
||||
self.set_layout()
|
||||
# input section,输入部分
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue