From 25742c2dd669086cf7cfed8ec0c54fa83185770f Mon Sep 17 00:00:00 2001 From: wangWking <842749351@qq.com> Date: Thu, 9 Jun 2022 17:24:12 +0800 Subject: [PATCH] fix UI display --- mycobot_280/mycobot_280pi/scripts/simple_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycobot_280/mycobot_280pi/scripts/simple_gui.py b/mycobot_280/mycobot_280pi/scripts/simple_gui.py index 9f4c791..d2757cb 100755 --- a/mycobot_280/mycobot_280pi/scripts/simple_gui.py +++ b/mycobot_280/mycobot_280pi/scripts/simple_gui.py @@ -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,输入部分